summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/ce/ce_interpolation_test.cpp
diff options
context:
space:
mode:
authorColin Stolley <colin.stolley@mongodb.com>2022-09-21 16:11:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-21 17:31:13 +0000
commit286384225a4fae6a2b209e36ee3d5c443ee44972 (patch)
tree3b99a901f403ca84dc4472c204981e7fa5aa4358 /src/mongo/db/query/ce/ce_interpolation_test.cpp
parent3aa324accc64c532f53983258b4c7624b0b0158c (diff)
downloadmongo-286384225a4fae6a2b209e36ee3d5c443ee44972.tar.gz
SERVER-69807 Convert std::bind() calls to lambdas.
Diffstat (limited to 'src/mongo/db/query/ce/ce_interpolation_test.cpp')
-rw-r--r--src/mongo/db/query/ce/ce_interpolation_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/query/ce/ce_interpolation_test.cpp b/src/mongo/db/query/ce/ce_interpolation_test.cpp
index d647ce293a6..043d9074b10 100644
--- a/src/mongo/db/query/ce/ce_interpolation_test.cpp
+++ b/src/mongo/db/query/ce/ce_interpolation_test.cpp
@@ -39,8 +39,7 @@ namespace {
using namespace sbe;
double estimateIntValCard(const ScalarHistogram& hist, const int v, const EstimationType type) {
- const auto [tag, val] =
- std::make_pair(value::TypeTags::NumberInt64, value::bitcastFrom<int64_t>(v));
+ auto [tag, val] = std::make_pair(value::TypeTags::NumberInt64, value::bitcastFrom<int64_t>(v));
return estimate(hist, tag, val, type).card;
};