summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/modifier_compare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/modifier_compare.cpp')
-rw-r--r--src/mongo/db/ops/modifier_compare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/modifier_compare.cpp b/src/mongo/db/ops/modifier_compare.cpp
index dee2b1ef2ef..6d37e4b2797 100644
--- a/src/mongo/db/ops/modifier_compare.cpp
+++ b/src/mongo/db/ops/modifier_compare.cpp
@@ -95,7 +95,7 @@ namespace mongo {
}
Status ModifierCompare::prepare(mutablebson::Element root,
- const StringData& matchedField,
+ StringData matchedField,
ExecInfo* execInfo) {
_preparedState.reset(new PreparedState(root.getDocument()));