diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-04-02 13:17:17 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-04-03 11:40:52 -0400 |
commit | b74866fd077c878a37045c50de75467cf93310da (patch) | |
tree | aa12f88fb0367967e93d2d5781ec5aa97e34d7d2 /src/mongo/db/sorter | |
parent | 7060c72b30a836b3052f7890ea8c4b592014adf4 (diff) | |
download | mongo-b74866fd077c878a37045c50de75467cf93310da.tar.gz |
SERVER-17863 Sort in config.h header when possible
Diffstat (limited to 'src/mongo/db/sorter')
-rw-r--r-- | src/mongo/db/sorter/sorter.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/sorter/sorter_test.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/sorter/sorter.cpp b/src/mongo/db/sorter/sorter.cpp index f4c3301a1ae..fe95f54c4a1 100644 --- a/src/mongo/db/sorter/sorter.cpp +++ b/src/mongo/db/sorter/sorter.cpp @@ -45,8 +45,6 @@ * Do this once for each unique set of parameters to MONGO_CREATE_SORTER. */ -#include "mongo/config.h" - #include "mongo/db/sorter/sorter.h" #include <boost/filesystem/operations.hpp> @@ -55,6 +53,7 @@ #include <snappy.h> #include "mongo/base/string_data.h" +#include "mongo/config.h" #include "mongo/db/jsobj.h" #include "mongo/db/storage_options.h" #include "mongo/platform/atomic_word.h" diff --git a/src/mongo/db/sorter/sorter_test.cpp b/src/mongo/db/sorter/sorter_test.cpp index 8deba56ac0e..e87c15efb6e 100644 --- a/src/mongo/db/sorter/sorter_test.cpp +++ b/src/mongo/db/sorter/sorter_test.cpp @@ -26,8 +26,6 @@ * then also delete it in the license file. */ -#include "mongo/config.h" - #include "mongo/platform/basic.h" #include "mongo/db/sorter/sorter.h" @@ -37,6 +35,7 @@ #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> +#include "mongo/config.h" #include "mongo/unittest/temp_dir.h" #include "mongo/unittest/unittest.h" #include "mongo/util/mongoutils/str.h" |