summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2017-03-14 10:49:13 -0400
committerDavid Storch <david.storch@10gen.com>2017-03-14 10:49:13 -0400
commit08e19cba750f74ae1a4ebdb0d97c3d63182e2bc1 (patch)
tree201c3807f28d2f54443e10b026e1b769b8f5560b /src/mongo/db
parentd71720f53c432ecdf2e709dbe48187c45b1aa264 (diff)
downloadmongo-08e19cba750f74ae1a4ebdb0d97c3d63182e2bc1.tar.gz
SERVER-27614 fix linker error on OS X
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/pipeline/expression.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/expression.cpp b/src/mongo/db/pipeline/expression.cpp
index 30cafd8ba23..9678e16c206 100644
--- a/src/mongo/db/pipeline/expression.cpp
+++ b/src/mongo/db/pipeline/expression.cpp
@@ -68,6 +68,9 @@ static Value serializeConstant(Value val) {
return Value(DOC("$const" << val));
}
+constexpr Variables::Id Variables::kRootId;
+constexpr Variables::Id Variables::kRemoveId;
+
const StringMap<Variables::Id> Variables::kBuiltinVarNameToId = {{"ROOT"_sd, kRootId},
{"REMOVE"_sd, kRemoveId}};