summaryrefslogtreecommitdiff
path: root/src/third_party/s2
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-07-24 10:50:24 -0400
committerEric Milkie <milkie@10gen.com>2014-07-24 10:50:27 -0400
commitf92174540acb6713eacee71877cbc124fc86f296 (patch)
tree0d200c740418249428cfdfd066009ef3874667c6 /src/third_party/s2
parent8b5133c1e2146b3dd015b5f7d2431b586888b07a (diff)
downloadmongo-f92174540acb6713eacee71877cbc124fc86f296.tar.gz
SERVER-14671 change class hash to struct hash, to match system include's definition
Diffstat (limited to 'src/third_party/s2')
-rw-r--r--src/third_party/s2/s2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/s2/s2.h b/src/third_party/s2/s2.h
index bc79bdcf4dc..884ce589a5e 100644
--- a/src/third_party/s2/s2.h
+++ b/src/third_party/s2/s2.h
@@ -37,7 +37,7 @@ typedef Vector3_d S2Point;
HASH_NAMESPACE_START
-template<> class hash<S2Point> {
+template<> struct hash<S2Point> {
public:
size_t operator()(S2Point const& p) const;
};