diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-08-28 14:00:43 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-08-28 15:15:30 -0400 |
commit | 3af53b365e5fd67df35134f4190202b4f0c4c6a0 (patch) | |
tree | 92aad357561425aa3292b740a257a4b3c8150469 /src/mongo/db/auth/authz_manager_external_state_s.h | |
parent | 6f2e6b46bf9c0b8b6042c821a56edf8968c24f4b (diff) | |
download | mongo-3af53b365e5fd67df35134f4190202b4f0c4c6a0.tar.gz |
SERVER-14668 Distlock constants to enums and fix some includes
The macros were conflicting with LockManager enums, which are in different
namespaces (LOCK_TIMEOUT in particular).
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_s.h')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state_s.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_s.h b/src/mongo/db/auth/authz_manager_external_state_s.h index 44de008b21b..785c940131c 100644 --- a/src/mongo/db/auth/authz_manager_external_state_s.h +++ b/src/mongo/db/auth/authz_manager_external_state_s.h @@ -36,11 +36,13 @@ #include "mongo/base/status.h" #include "mongo/db/auth/authz_manager_external_state.h" #include "mongo/db/auth/user_name.h" -#include "mongo/s/distlock.h" #include "mongo/stdx/functional.h" + namespace mongo { + class ScopedDistributedLock; + /** * The implementation of AuthzManagerExternalState functionality for mongos. */ |