summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/modifier_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/modifier_table.h')
-rw-r--r--src/mongo/db/ops/modifier_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/modifier_table.h b/src/mongo/db/ops/modifier_table.h
index 69aadab0839..8087114e657 100644
--- a/src/mongo/db/ops/modifier_table.h
+++ b/src/mongo/db/ops/modifier_table.h
@@ -58,7 +58,7 @@ namespace modifiertable {
* Returns the modifier type for 'typeStr', if it was recognized as an existing update
* mod, or MOD_UNKNOWN otherwise.
*/
- ModifierType getType(const StringData& typeStr);
+ ModifierType getType(StringData typeStr);
/**
* Instantiate an update mod that corresponds to 'modType' or NULL if 'modType' is not