]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/crimson: include system and 3rd-party headers first
authorKefu Chai <tchaikov@gmail.com>
Thu, 15 Dec 2022 05:34:16 +0000 (13:34 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 16 Dec 2022 02:37:25 +0000 (10:37 +0800)
see also https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/test/crimson/test_messenger_thrash.cc

index 0f94d76f9c0a5d380929376f3cc7e42d8cdce5af..3d1f6044c3afd328ae9b7bd5e789c8e4f8623b53 100644 (file)
@@ -1,15 +1,6 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
-#include "common/ceph_argparse.h"
-#include "messages/MPing.h"
-#include "messages/MCommand.h"
-#include "crimson/auth/DummyAuth.h"
-#include "crimson/common/log.h"
-#include "crimson/net/Connection.h"
-#include "crimson/net/Dispatcher.h"
-#include "crimson/net/Messenger.h"
-
 #include <map>
 #include <random>
 #include <fmt/format.h>
 #include <seastar/core/sleep.hh>
 #include <seastar/core/with_timeout.hh>
 
+#include "common/ceph_argparse.h"
+#include "messages/MPing.h"
+#include "messages/MCommand.h"
+#include "crimson/auth/DummyAuth.h"
+#include "crimson/common/log.h"
+#include "crimson/net/Connection.h"
+#include "crimson/net/Dispatcher.h"
+#include "crimson/net/Messenger.h"
+
 using namespace std::chrono_literals;
 namespace bpo = boost::program_options;
 using crimson::common::local_conf;