diff options
author | Eric Milkie <milkie@10gen.com> | 2013-04-16 10:17:41 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2013-04-16 11:36:29 -0400 |
commit | ae8f60287af2138896faea6de17b1da8b4e7054a (patch) | |
tree | 1d7d686dd2223b24fb1fce2f4f014c596a204088 /src/mongo/db/restapi.h | |
parent | 8f543cb195e7cd9c4586644b3e0de971cc4d01d4 (diff) | |
download | mongo-ae8f60287af2138896faea6de17b1da8b4e7054a.tar.gz |
SERVER-7772 rename and move header to is_master.h
Diffstat (limited to 'src/mongo/db/restapi.h')
-rw-r--r-- | src/mongo/db/restapi.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/restapi.h b/src/mongo/db/restapi.h index e5ac52083fe..2f80be04725 100644 --- a/src/mongo/db/restapi.h +++ b/src/mongo/db/restapi.h @@ -19,7 +19,10 @@ #pragma once -#include "../util/admin_access.h" +#include <string> + +#include "mongo/db/jsobj.h" +#include "mongo/util/admin_access.h" namespace mongo { @@ -28,7 +31,7 @@ namespace mongo { virtual ~RestAdminAccess() { } virtual bool haveAdminUsers() const; - virtual BSONObj getAdminUser( const string& username ) const; + virtual BSONObj getAdminUser( const std::string& username ) const; }; } // namespace mongo |