diff options
author | Tommaso Tocci <tommaso.tocci@mongodb.com> | 2020-10-01 13:46:39 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-01 12:55:27 +0000 |
commit | f880b32be6c6081ca0eb6599fd14b8fad5a5813c (patch) | |
tree | 827fd25908add62d0b11340cb3632da6b57ea918 /src/mongo/db/api_parameters.cpp | |
parent | bfd22982681e0af44f52b586b432091174d17945 (diff) | |
download | mongo-f880b32be6c6081ca0eb6599fd14b8fad5a5813c.tar.gz |
Revert "SERVER-50375 Thoroughly test that mongos forwards API parameters"
This reverts commit e66093f0a8ee3cd95dea9480028a6da814bb1854.
Diffstat (limited to 'src/mongo/db/api_parameters.cpp')
-rw-r--r-- | src/mongo/db/api_parameters.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/api_parameters.cpp b/src/mongo/db/api_parameters.cpp index 51e424637db..05ffe9c49cb 100644 --- a/src/mongo/db/api_parameters.cpp +++ b/src/mongo/db/api_parameters.cpp @@ -76,18 +76,4 @@ void APIParameters::appendInfo(BSONObjBuilder* builder) const { } } -std::size_t APIParameters::Hash::operator()(const APIParameters& params) const { - size_t seed = 0; - if (params.getAPIVersion()) { - boost::hash_combine(seed, *params.getAPIVersion()); - } - if (params.getAPIStrict()) { - boost::hash_combine(seed, *params.getAPIStrict()); - } - if (params.getAPIDeprecationErrors()) { - boost::hash_combine(seed, *params.getAPIDeprecationErrors()); - } - return seed; -} - } // namespace mongo |