mon/MonClient: forward declare AuthRegistry instead of #include it

to speed up the compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-02-12 19:44:04 +08:00
parent b83335174a
commit 9e46205368
2 changed files with 3 additions and 2 deletions

View 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

View 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;