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/dbhelpers.h | |
parent | c10e8282a7af38f8512e911a14889e14df8a2c6a (diff) | |
download | mongo-f2bfd36a6f3eb7e7e2587268be3cc12636703d42.tar.gz |
SERVER-13256: Remove pch - qualify std in headers
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r-- | src/mongo/db/dbhelpers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index 76ef3271c91..758491e0297 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -91,7 +91,7 @@ namespace mongo { /** * have to be locked already */ - static vector<BSONObj> findAll( const string& ns , const BSONObj& query ); + static std::vector<BSONObj> findAll( const std::string& ns , const BSONObj& query ); /** * @param foundIndex if passed in will be set to 1 if ns and index found @@ -124,7 +124,7 @@ namespace mongo { * o has to have an _id field or will assert */ static void upsert( OperationContext* txn, - const string& ns, + const std::string& ns, const BSONObj& o, bool fromMigrate = false ); @@ -192,7 +192,7 @@ namespace mongo { */ static Status getLocsInRange( const KeyRange& range, long long maxChunkSizeBytes, - set<DiskLoc>* locs, + std::set<DiskLoc>* locs, long long* numDocs, long long* estChunkSizeBytes ); @@ -208,7 +208,7 @@ namespace mongo { */ class RemoveSaver : public boost::noncopyable { public: - RemoveSaver(const string& type, const string& ns, const string& why); + RemoveSaver(const std::string& type, const std::string& ns, const std::string& why); ~RemoveSaver(); void goingToDelete( const BSONObj& o ); @@ -216,7 +216,7 @@ namespace mongo { private: boost::filesystem::path _root; boost::filesystem::path _file; - ofstream* _out; + std::ofstream* _out; }; }; |