]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/MonClient: forward declare AuthRegistry instead of #include it
authorKefu Chai <kchai@redhat.com>
Tue, 12 Feb 2019 11:44:04 +0000 (19:44 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 12 Feb 2019 12:08:12 +0000 (20:08 +0800)
to speed up the compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/MonClient.cc
src/mon/MonClient.h

index f26ef47ea65a1ae831df42ec7c2c4445c1fea768..a739e7166478e2966360a1f956e73c003992f1c6 100644 (file)
@@ -43,6 +43,7 @@
 #include "auth/KeyRing.h"
 #include "auth/AuthClientHandler.h"
 #include "auth/AuthMethodList.h"
+#include "auth/AuthRegistry.h"
 #include "auth/RotatingKeyRing.h"
 
 #define dout_subsys ceph_subsys_monc
index 3b8faf58b59608186a3825c8dd28829a8717bdbf..ee1e9bb20a1c99715892f0cde28e1c1bf88f6f4c 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "auth/AuthClient.h"
 #include "auth/AuthServer.h"
-#include "auth/AuthRegistry.h"
 
 class MMonMap;
 class MConfig;
@@ -38,8 +37,9 @@ struct MAuthReply;
 class MAuthRotating;
 class LogClient;
 class AuthAuthorizer;
-class AuthMethodList;
 class AuthClientHandler;
+class AuthMethodList;
+class AuthRegistry;
 class KeyRing;
 class RotatingKeyRing;