summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/privilege_parser.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 12:46:52 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 14:43:05 -0400
commitf2bfd36a6f3eb7e7e2587268be3cc12636703d42 (patch)
tree6436772fbceb28f07bbfaee528d700159beb0cec /src/mongo/db/auth/privilege_parser.h
parentc10e8282a7af38f8512e911a14889e14df8a2c6a (diff)
downloadmongo-f2bfd36a6f3eb7e7e2587268be3cc12636703d42.tar.gz
SERVER-13256: Remove pch - qualify std in headers
Diffstat (limited to 'src/mongo/db/auth/privilege_parser.h')
-rw-r--r--src/mongo/db/auth/privilege_parser.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mongo/db/auth/privilege_parser.h b/src/mongo/db/auth/privilege_parser.h
index fc39566e311..7c892602032 100644
--- a/src/mongo/db/auth/privilege_parser.h
+++ b/src/mongo/db/auth/privilege_parser.h
@@ -53,8 +53,8 @@ namespace mongo {
static const BSONField<bool> anyResource;
static const BSONField<bool> cluster;
- static const BSONField<string> db;
- static const BSONField<string> collection;
+ static const BSONField<std::string> db;
+ static const BSONField<std::string> collection;
//
// construction / destruction
@@ -112,11 +112,11 @@ namespace mongo {
bool _isClusterSet;
// (O) database portion of the resource
- string _db;
+ std::string _db;
bool _isDbSet;
// (O) collection portion of the resource
- string _collection;
+ std::string _collection;
bool _isCollectionSet;
};
@@ -131,7 +131,7 @@ namespace mongo {
// schema declarations
//
- static const BSONField<std::vector<string> > actions;
+ static const BSONField<std::vector<std::string> > actions;
static const BSONField<ParsedResource> resource;
//
@@ -168,13 +168,13 @@ namespace mongo {
// individual field accessors
//
- void setActions(const std::vector<string>& actions);
- void addToActions(const string& actions);
+ void setActions(const std::vector<std::string>& actions);
+ void addToActions(const std::string& actions);
void unsetActions();
bool isActionsSet() const;
size_t sizeActions() const;
- const std::vector<string>& getActions() const;
- const string& getActionsAt(size_t pos) const;
+ const std::vector<std::string>& getActions() const;
+ const std::string& getActionsAt(size_t pos) const;
void setResource(const ParsedResource& resource);
void unsetResource();
@@ -185,7 +185,7 @@ namespace mongo {
// Convention: (M)andatory, (O)ptional
// (M) Array of action types
- std::vector<string> _actions;
+ std::vector<std::string> _actions;
bool _isActionsSet;
// (M) Object describing the resource pattern of this privilege