summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/update_node_test_fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/update/update_node_test_fixture.h')
-rw-r--r--src/mongo/db/update/update_node_test_fixture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/update/update_node_test_fixture.h b/src/mongo/db/update/update_node_test_fixture.h
index 6da205a2cb8..725f9ba0c46 100644
--- a/src/mongo/db/update/update_node_test_fixture.h
+++ b/src/mongo/db/update/update_node_test_fixture.h
@@ -113,7 +113,7 @@ protected:
if (!_indexData) {
_indexData = stdx::make_unique<UpdateIndexData>();
}
- _indexData->addPath(path);
+ _indexData->addPath(FieldRef(path));
}
void setLogBuilderToNull() {