From 28b7754ab7c4f168b1ff88391452a5624c668539 Mon Sep 17 00:00:00 2001 From: Charlie Swanson Date: Fri, 8 Oct 2021 20:59:17 +0000 Subject: SERVER-58163 Follow-up cleanup for SERVER-58076 --- src/mongo/db/query/allowed_contexts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/query/allowed_contexts.cpp') 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> callbackForSometimesAllowed) { -- cgit v1.2.1