aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb/files/patch-src_mongo_dbtests_documentsourcetests.cpp
blob: 8f456b469b0cef4f4f81e1b19e60b59905025bdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./src/mongo/dbtests/documentsourcetests.cpp.orig	2014-04-07 09:45:28.120368155 +0000
+++ ./src/mongo/dbtests/documentsourcetests.cpp	2014-04-07 09:45:21.592368569 +0000
@@ -583,7 +583,7 @@
         };
 
         struct ValueCmp {
-            bool operator()(const Value& a, const Value& b) {
+            bool operator()(const Value& a, const Value& b) const {
                 return Value::compare( a, b ) < 0;
             }
         };