summaryrefslogtreecommitdiff
path: root/src/mongo/db/api_parameters.h
diff options
context:
space:
mode:
authorSamy Lanka <samy.lanka@mongodb.com>2020-09-25 20:29:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-28 15:38:16 +0000
commite6f22b75887669de4eb1c888dd4e5dca2398c217 (patch)
tree860b84edccb702f0dd068ce57175aa4de66b18be /src/mongo/db/api_parameters.h
parent256d1c78a7b51b6ec9384e1cfa842811e6b8a7f7 (diff)
downloadmongo-e6f22b75887669de4eb1c888dd4e5dca2398c217.tar.gz
SERVER-50874 Remove const qualifier from return type in api_parameters.h
Diffstat (limited to 'src/mongo/db/api_parameters.h')
-rw-r--r--src/mongo/db/api_parameters.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/api_parameters.h b/src/mongo/db/api_parameters.h
index 7539dcb345e..efbebfabfcc 100644
--- a/src/mongo/db/api_parameters.h
+++ b/src/mongo/db/api_parameters.h
@@ -75,7 +75,7 @@ public:
_apiDeprecationErrors = apiDeprecationErrors;
}
- const bool getParamsPassed() const {
+ bool getParamsPassed() const {
return _apiVersion || _apiStrict || _apiDeprecationErrors;
}