]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: Fix missing utility include 44375/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 21 Dec 2021 09:10:17 +0000 (10:10 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 21 Dec 2021 10:38:54 +0000 (11:38 +0100)
See:
    https://en.cppreference.com/w/cpp/utility/move

Detected on FreeBSD/Clang/libc++:
/home/jenkins/workspace/ceph-master-compile/src/common/deleter.h:111:43: error: no member named 'move' in namespace 'std'
  impl(deleter next) : refs(1), next(std::move(next)) {}

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/deleter.h

index 442aa56ed6de8b97a5d67afcd714658ea6d291fe..d2272cace4b8d9ae63530841581f736c3984e404 100644 (file)
@@ -25,6 +25,7 @@
 #include <atomic>
 #include <cstdlib>
 #include <new>
+#include <utility>
 
 /// \addtogroup memory-module
 /// @{