diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-05-19 12:46:52 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-05-19 14:43:05 -0400 |
commit | f2bfd36a6f3eb7e7e2587268be3cc12636703d42 (patch) | |
tree | 6436772fbceb28f07bbfaee528d700159beb0cec /src/mongo/db/keypattern.h | |
parent | c10e8282a7af38f8512e911a14889e14df8a2c6a (diff) | |
download | mongo-f2bfd36a6f3eb7e7e2587268be3cc12636703d42.tar.gz |
SERVER-13256: Remove pch - qualify std in headers
Diffstat (limited to 'src/mongo/db/keypattern.h')
-rw-r--r-- | src/mongo/db/keypattern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/keypattern.h b/src/mongo/db/keypattern.h index 3e0eebfb613..40454e3b672 100644 --- a/src/mongo/db/keypattern.h +++ b/src/mongo/db/keypattern.h @@ -45,7 +45,7 @@ namespace mongo { * and direction +1, one valid BoundList is: (1, 2); (4, 6). The same BoundList * would be valid for index {i:-1} with direction -1. */ - typedef vector<pair<BSONObj,BSONObj> > BoundList; + typedef std::vector<std::pair<BSONObj,BSONObj> > BoundList; /** A KeyPattern is an expression describing a transformation of a document into a * document key. Document keys are used to store documents in indices and to target @@ -132,7 +132,7 @@ namespace mongo { */ bool isCoveredBy( const KeyPattern& other ) const; - string toString() const{ return toBSON().toString(); } + std::string toString() const{ return toBSON().toString(); } /* Given a document, extracts the index key corresponding to this KeyPattern * Warning: assumes that there is a *single* key to be extracted! |