summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_leaf.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2016-09-01 12:00:47 -0400
committerDavid Storch <david.storch@10gen.com>2016-09-08 22:43:36 -0400
commit0f695019bd0b736e0aac0c510290175f0ec8f274 (patch)
tree0a7e318bbb2753e2ac082e799a940d2c62125e72 /src/mongo/db/matcher/expression_leaf.h
parentf0df1d05b6098bfc01d0351e6867f044542d3b39 (diff)
downloadmongo-0f695019bd0b736e0aac0c510290175f0ec8f274.tar.gz
SERVER-25865 stdx::unordered_map and stdx::unordered_set
On Windows, these are aliases for boost containers. On other platforms they are aliases for std containers.
Diffstat (limited to 'src/mongo/db/matcher/expression_leaf.h')
-rw-r--r--src/mongo/db/matcher/expression_leaf.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/matcher/expression_leaf.h b/src/mongo/db/matcher/expression_leaf.h
index 62a45c81e9c..26568b20b81 100644
--- a/src/mongo/db/matcher/expression_leaf.h
+++ b/src/mongo/db/matcher/expression_leaf.h
@@ -30,12 +30,11 @@
#pragma once
-#include <unordered_map>
-
#include "mongo/bson/bsonmisc.h"
#include "mongo/bson/bsonobj.h"
#include "mongo/db/matcher/expression.h"
#include "mongo/stdx/memory.h"
+#include "mongo/stdx/unordered_map.h"
namespace pcrecpp {
class RE;
@@ -405,7 +404,7 @@ private:
class TypeMatchExpression : public MatchExpression {
public:
static const std::string kMatchesAllNumbersAlias;
- static const std::unordered_map<std::string, BSONType> typeAliasMap;
+ static const stdx::unordered_map<std::string, BSONType> typeAliasMap;
TypeMatchExpression() : MatchExpression(TYPE_OPERATOR) {}