summaryrefslogtreecommitdiff
path: root/src/mongo/db/geo/hash.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-09 18:02:51 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-15 07:04:26 -0500
commit9f30e21c627e4c73ab0b44e45b7ce657b3e2619f (patch)
tree4863e66baca59d2733c4d8090ed962ef60908d6a /src/mongo/db/geo/hash.cpp
parent44cafa7dddde7510aa0a05efce807a2e294fdc6d (diff)
downloadmongo-9f30e21c627e4c73ab0b44e45b7ce657b3e2619f.tar.gz
SERVER-13256 Add usings and qualifications for names from namespace std
Diffstat (limited to 'src/mongo/db/geo/hash.cpp')
-rw-r--r--src/mongo/db/geo/hash.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/geo/hash.cpp b/src/mongo/db/geo/hash.cpp
index 53d56f84fa5..318a1cfdcab 100644
--- a/src/mongo/db/geo/hash.cpp
+++ b/src/mongo/db/geo/hash.cpp
@@ -40,6 +40,8 @@ using namespace mongoutils;
namespace mongo {
+ using std::stringstream;
+
std::ostream& operator<<(std::ostream &s, const GeoHash &h) {
return s << h.toString();
}
@@ -242,7 +244,7 @@ namespace mongo {
string GeoHash::toStringHex1() const {
stringstream ss;
- ss << hex << _hash;
+ ss << std::hex << _hash;
return ss.str();
}