From 0654099d4b2f9f9423d7e8cf00e9e3351a24ec67 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Tue, 25 Sep 2018 23:36:30 +0200 Subject: [PATCH] common: fix missing include boost/noncopyable.hpp Clang complains: ``` In file included from /home/jenkins/workspace/ceph-master/src/osd/ReplicatedBackend.cc:15: In file included from /home/jenkins/workspace/ceph-master/src/osd/ReplicatedBackend.h:18: In file included from /home/jenkins/workspace/ceph-master/src/osd/PGBackend.h:27: In file included from /home/jenkins/workspace/ceph-master/src/osd/PGTransaction.h:25: /home/jenkins/workspace/ceph-master/src/common/inline_variant.h:88:64: error: expected class name struct generic_visitor : boost::static_visitor, boost::noncopyable ^ 1 error generated. gmake[2]: *** [src/osd/CMakeFiles/osd.dir/build.make:141: src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... ``` Signed-off-by: Willem Jan Withagen --- src/common/inline_variant.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/inline_variant.h b/src/common/inline_variant.h index bd55a59116cda..28426ba7104a9 100644 --- a/src/common/inline_variant.h +++ b/src/common/inline_variant.h @@ -14,6 +14,7 @@ #include #include #include +#include #include "function_signature.h" -- 2.39.5