diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-01-09 18:02:51 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-01-15 07:04:26 -0500 |
commit | 9f30e21c627e4c73ab0b44e45b7ce657b3e2619f (patch) | |
tree | 4863e66baca59d2733c4d8090ed962ef60908d6a /src/mongo/db/pipeline/value.cpp | |
parent | 44cafa7dddde7510aa0a05efce807a2e294fdc6d (diff) | |
download | mongo-9f30e21c627e4c73ab0b44e45b7ce657b3e2619f.tar.gz |
SERVER-13256 Add usings and qualifications for names from namespace std
Diffstat (limited to 'src/mongo/db/pipeline/value.cpp')
-rw-r--r-- | src/mongo/db/pipeline/value.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/value.cpp b/src/mongo/db/pipeline/value.cpp index 22fb3d90fd0..9077c49b5d6 100644 --- a/src/mongo/db/pipeline/value.cpp +++ b/src/mongo/db/pipeline/value.cpp @@ -44,6 +44,12 @@ namespace mongo { using namespace mongoutils; using boost::intrusive_ptr; + using std::min; + using std::numeric_limits; + using std::ostream; + using std::string; + using std::stringstream; + using std::vector; void ValueStorage::verifyRefCountingIfShould() const { switch (type) { @@ -620,7 +626,7 @@ namespace mongo { const vector<Value>& lArr = rL.getArray(); const vector<Value>& rArr = rR.getArray(); - const size_t elems = min(lArr.size(), rArr.size()); + const size_t elems = std::min(lArr.size(), rArr.size()); for (size_t i = 0; i < elems; i++ ) { // compare the two corresponding elements ret = Value::compare(lArr[i], rArr[i]); |