diff options
author | Shaun Verch <shaun.verch@10gen.com> | 2013-09-18 14:02:36 -0400 |
---|---|---|
committer | Shaun Verch <shaun.verch@10gen.com> | 2013-10-04 16:58:54 -0400 |
commit | 6fc951d492881a32754bc3e38e8b5eca78929197 (patch) | |
tree | 73c2afe3120a8a87cf3bc8379e53461b2cf05b1e /src/mongo/db/instance.h | |
parent | 99372153dfe9dd9251e49371d872b5f27dfd6f2c (diff) | |
download | mongo-6fc951d492881a32754bc3e38e8b5eca78929197.tar.gz |
SERVER-8510 Get rid of CmdLine struct and use new option handling style
Diffstat (limited to 'src/mongo/db/instance.h')
-rw-r--r-- | src/mongo/db/instance.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/instance.h b/src/mongo/db/instance.h index bb0307defcb..43f0674ce86 100644 --- a/src/mongo/db/instance.h +++ b/src/mongo/db/instance.h @@ -33,9 +33,9 @@ #include "mongo/client/dbclientinterface.h" #include "mongo/db/client.h" -#include "mongo/db/cmdline.h" #include "mongo/db/curop-inl.h" #include "mongo/db/dbmessage.h" +#include "mongo/db/storage_options.h" namespace mongo { @@ -69,7 +69,8 @@ namespace mongo { void assembleResponse( Message &m, DbResponse &dbresponse, const HostAndPort &client ); - void getDatabaseNames( vector< string > &names , const string& usePath = dbpath ); + void getDatabaseNames(vector<std::string> &names, + const std::string& usePath = storageGlobalParams.dbpath); /* returns true if there is no data on this server. useful when starting replication. local database does NOT count. |