summaryrefslogtreecommitdiff
path: root/src/mongo/db/geo/hash.cpp
diff options
context:
space:
mode:
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();
}