summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/allowed_contexts.cpp
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2021-10-08 20:59:17 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-08 21:52:23 +0000
commit28b7754ab7c4f168b1ff88391452a5624c668539 (patch)
tree4581cc7b8d4917e10c2cec73d01bf5896c5eb442 /src/mongo/db/query/allowed_contexts.cpp
parentcb721afab428783c002fc04fee1e317ec89d5a08 (diff)
downloadmongo-28b7754ab7c4f168b1ff88391452a5624c668539.tar.gz
SERVER-58163 Follow-up cleanup for SERVER-58076
Diffstat (limited to 'src/mongo/db/query/allowed_contexts.cpp')
-rw-r--r--src/mongo/db/query/allowed_contexts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/allowed_contexts.cpp b/src/mongo/db/query/allowed_contexts.cpp
index 1a2eebadc7f..33bb749d9f4 100644
--- a/src/mongo/db/query/allowed_contexts.cpp
+++ b/src/mongo/db/query/allowed_contexts.cpp
@@ -37,7 +37,7 @@ namespace mongo {
void assertLanguageFeatureIsAllowed(
const OperationContext* opCtx,
- std::string operatorName,
+ StringData operatorName,
AllowedWithApiStrict allowedWithApiStrict,
AllowedWithClientType allowedWithClientType,
boost::optional<std::function<void(const APIParameters&)>> callbackForSometimesAllowed) {