]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: #include necessary header file
authorKefu Chai <kchai@redhat.com>
Sun, 6 Oct 2019 09:10:46 +0000 (17:10 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 6 Oct 2019 09:20:28 +0000 (17:20 +0800)
for using `seastar::sleep()`, we need to include sleep.hh

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg.cc

index 60f9814954757713c8f6ea274987242536f23b8d..ba5c8d940aa76771a7ebd727723d9ea84694fcf1 100644 (file)
@@ -11,9 +11,9 @@
 #include <boost/range/algorithm/copy.hpp>
 #include <boost/range/algorithm/max_element.hpp>
 #include <boost/range/numeric.hpp>
-
 #include <fmt/format.h>
 #include <fmt/ostream.h>
+#include <seastar/core/sleep.hh>
 
 #include "messages/MOSDOp.h"
 #include "messages/MOSDOpReply.h"