diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2015-04-02 15:48:57 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2015-04-03 15:13:55 -0400 |
commit | 789ad901737cfed9f383e467464c23943c94ecf4 (patch) | |
tree | abda24f89ace5793aad5212c1cfde9b57e4f2c9a /src/mongo/db/index_rebuilder.cpp | |
parent | 78aa03b4eda2784ae67eba32d6b103166f1c57ad (diff) | |
download | mongo-789ad901737cfed9f383e467464c23943c94ecf4.tar.gz |
SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.
Diffstat (limited to 'src/mongo/db/index_rebuilder.cpp')
-rw-r--r-- | src/mongo/db/index_rebuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/index_rebuilder.cpp b/src/mongo/db/index_rebuilder.cpp index d8d7ab5dfa5..b73d76acd3e 100644 --- a/src/mongo/db/index_rebuilder.cpp +++ b/src/mongo/db/index_rebuilder.cpp @@ -43,7 +43,7 @@ #include "mongo/db/catalog/index_create.h" #include "mongo/db/client.h" #include "mongo/db/db_raii.h" -#include "mongo/db/global_environment_experiment.h" +#include "mongo/db/service_context.h" #include "mongo/db/instance.h" #include "mongo/db/operation_context_impl.h" #include "mongo/db/storage/storage_engine.h" @@ -154,7 +154,7 @@ namespace { std::vector<std::string> dbNames; - StorageEngine* storageEngine = getGlobalEnvironment()->getGlobalStorageEngine(); + StorageEngine* storageEngine = getGlobalServiceContext()->getGlobalStorageEngine(); storageEngine->listDatabases( &dbNames ); try { |