summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/update_object_node.cpp
diff options
context:
space:
mode:
authorNatalia Jacobowitz <natalia.jacobowitz@mongodb.com>2017-07-20 18:23:58 -0400
committerNatalia Jacobowitz <natalia.jacobowitz@mongodb.com>2017-07-25 14:30:02 -0400
commit3b54aa39c670c176541bdfdb37d0d3fcb2f1e9ea (patch)
tree8f5a289fad5ccb75e2a23a3f8b5c1b1466bfe91c /src/mongo/db/update/update_object_node.cpp
parent68bca92abdd01a91dd3606cc3f5708f74d084b86 (diff)
downloadmongo-3b54aa39c670c176541bdfdb37d0d3fcb2f1e9ea.tar.gz
SERVER-30243: Move ArrayFilter class to expressions library, allowing for future re-usability with JSON Schema
Diffstat (limited to 'src/mongo/db/update/update_object_node.cpp')
-rw-r--r--src/mongo/db/update/update_object_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/update/update_object_node.cpp b/src/mongo/db/update/update_object_node.cpp
index fa274085ea8..25c51dc32a2 100644
--- a/src/mongo/db/update/update_object_node.cpp
+++ b/src/mongo/db/update/update_object_node.cpp
@@ -51,7 +51,7 @@ StatusWith<std::string> parseArrayFilterIdentifier(
StringData field,
size_t position,
const FieldRef& fieldRef,
- const std::map<StringData, std::unique_ptr<ArrayFilter>>& arrayFilters,
+ const std::map<StringData, std::unique_ptr<ExpressionWithPlaceholder>>& arrayFilters,
std::set<std::string>& foundIdentifiers) {
dassert(fieldchecker::isArrayFilterIdentifier(field));
@@ -197,7 +197,7 @@ StatusWith<bool> UpdateObjectNode::parseAndMerge(
modifiertable::ModifierType type,
BSONElement modExpr,
const CollatorInterface* collator,
- const std::map<StringData, std::unique_ptr<ArrayFilter>>& arrayFilters,
+ const std::map<StringData, std::unique_ptr<ExpressionWithPlaceholder>>& arrayFilters,
std::set<std::string>& foundIdentifiers) {
FieldRef fieldRef;
if (type != modifiertable::ModifierType::MOD_RENAME) {