diff options
author | Samy Lanka <samy.lanka@mongodb.com> | 2020-09-25 20:29:48 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-28 15:38:16 +0000 |
commit | e6f22b75887669de4eb1c888dd4e5dca2398c217 (patch) | |
tree | 860b84edccb702f0dd068ce57175aa4de66b18be | |
parent | 256d1c78a7b51b6ec9384e1cfa842811e6b8a7f7 (diff) | |
download | mongo-e6f22b75887669de4eb1c888dd4e5dca2398c217.tar.gz |
SERVER-50874 Remove const qualifier from return type in api_parameters.h
-rw-r--r-- | src/mongo/db/api_parameters.h | 2 |
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; } |