summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:10 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:10 -0400
commit8ff8b380201ff2866e81f74cf914227a9bd272fa (patch)
treeaabe9ec55e5b769e66fe215d59357ddb2721e6ef /src/mongo/db/auth
parent8d94f1c084b85c34b0c3c10cb8367491681b4a0e (diff)
downloadmongo-8ff8b380201ff2866e81f74cf914227a9bd272fa.tar.gz
SERVER-23971 Fixup headers to workaround clang-format 3.8 include sorting bug
Diffstat (limited to 'src/mongo/db/auth')
-rw-r--r--src/mongo/db/auth/authorization_manager_test.cpp2
-rw-r--r--src/mongo/db/auth/authorization_session_test.cpp2
-rw-r--r--src/mongo/db/auth/role_graph_update.cpp2
-rw-r--r--src/mongo/db/auth/user_document_parser_test.cpp1
4 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authorization_manager_test.cpp b/src/mongo/db/auth/authorization_manager_test.cpp
index aed6a9b040b..2faf6d0fe10 100644
--- a/src/mongo/db/auth/authorization_manager_test.cpp
+++ b/src/mongo/db/auth/authorization_manager_test.cpp
@@ -25,6 +25,8 @@
* then also delete it in the license file.
*/
+#include "mongo/platform/basic.h"
+
/**
* Unit tests of the AuthorizationManager type.
*/
diff --git a/src/mongo/db/auth/authorization_session_test.cpp b/src/mongo/db/auth/authorization_session_test.cpp
index 0f5b4936e9d..8dfc448910f 100644
--- a/src/mongo/db/auth/authorization_session_test.cpp
+++ b/src/mongo/db/auth/authorization_session_test.cpp
@@ -25,6 +25,8 @@
* then also delete it in the license file.
*/
+#include "mongo/platform/basic.h"
+
/**
* Unit tests of the AuthorizationSession type.
*/
diff --git a/src/mongo/db/auth/role_graph_update.cpp b/src/mongo/db/auth/role_graph_update.cpp
index 6d44385b8f8..f9dd3b10efe 100644
--- a/src/mongo/db/auth/role_graph_update.cpp
+++ b/src/mongo/db/auth/role_graph_update.cpp
@@ -26,6 +26,8 @@
* it in the license file.
*/
+#include "mongo/platform/basic.h"
+
#include "mongo/base/status.h"
#include "mongo/bson/mutable/document.h"
#include "mongo/bson/mutable/element.h"
diff --git a/src/mongo/db/auth/user_document_parser_test.cpp b/src/mongo/db/auth/user_document_parser_test.cpp
index ae6c566d109..c3a1e0a490f 100644
--- a/src/mongo/db/auth/user_document_parser_test.cpp
+++ b/src/mongo/db/auth/user_document_parser_test.cpp
@@ -29,6 +29,7 @@
* Unit tests of the UserDocumentParser type.
*/
+#include "mongo/platform/basic.h"
#include "mongo/base/status.h"
#include "mongo/db/auth/action_set.h"