aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/algorithm_ut.cpp
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2025-04-24 14:01:12 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-04-24 14:18:37 +0300
commitea7d9634e7f89c48e5707842357a279004afd223 (patch)
tree664e0bcaa4228b309d62d9858162a8e228b7adc2 /util/generic/algorithm_ut.cpp
parent921a285daaf8009a0afd651fbb38356409582c15 (diff)
downloadydb-ea7d9634e7f89c48e5707842357a279004afd223.tar.gz
Intermediate changes
commit_hash:ae46d476745bcde01f2465ccfec1ae45e8d29d1e
Diffstat (limited to 'util/generic/algorithm_ut.cpp')
-rw-r--r--util/generic/algorithm_ut.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/generic/algorithm_ut.cpp b/util/generic/algorithm_ut.cpp
index 8609026797c..ee918233da8 100644
--- a/util/generic/algorithm_ut.cpp
+++ b/util/generic/algorithm_ut.cpp
@@ -754,7 +754,9 @@ Y_UNIT_TEST_SUITE(TAlgorithm) {
Y_UNIT_TEST(MinMaxElementMovableKeys) {
const TString strings[] = {"one", "two", "three", "four"};
- struct TMoveOnlyKey: TString, TMoveOnly {
+ struct TMoveOnlyKey
+ : TString,
+ TMoveOnly {
using TString::TString;
};
auto keyFn = [](TString s) { return TMoveOnlyKey{std::move(s)}; };