diff options
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 |