diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2021-10-08 20:59:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-08 21:52:23 +0000 |
commit | 28b7754ab7c4f168b1ff88391452a5624c668539 (patch) | |
tree | 4581cc7b8d4917e10c2cec73d01bf5896c5eb442 /src/mongo/db/query | |
parent | cb721afab428783c002fc04fee1e317ec89d5a08 (diff) | |
download | mongo-28b7754ab7c4f168b1ff88391452a5624c668539.tar.gz |
SERVER-58163 Follow-up cleanup for SERVER-58076
Diffstat (limited to 'src/mongo/db/query')
-rw-r--r-- | src/mongo/db/query/allowed_contexts.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/query/allowed_contexts.h | 2 |
2 files changed, 2 insertions, 2 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) { diff --git a/src/mongo/db/query/allowed_contexts.h b/src/mongo/db/query/allowed_contexts.h index a8c1506d749..c1c383231bd 100644 --- a/src/mongo/db/query/allowed_contexts.h +++ b/src/mongo/db/query/allowed_contexts.h @@ -68,7 +68,7 @@ enum class AllowedWithClientType { * conditions are met. */ void assertLanguageFeatureIsAllowed(const OperationContext* opCtx, - std::string operatorName, + StringData operatorName, AllowedWithApiStrict allowedWithApiStrict, AllowedWithClientType allowedWithClientType, boost::optional<std::function<void(const APIParameters&)>> |