aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/algorithm_ut.cpp
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-04-25 00:51:48 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-04-25 00:51:48 +0000
commit91f125ca5e39093a123ee9c2063a1af05c8c3c20 (patch)
tree36775185a5ec2eb15f8893f8a9c679eb77509805 /util/generic/algorithm_ut.cpp
parent7914c485d4c7b74077e35e0a3de9967fcee71423 (diff)
parenta64165ec06c774a4d2815a7ccf8c7fd66921a2c1 (diff)
downloadydb-91f125ca5e39093a123ee9c2063a1af05c8c3c20.tar.gz
Merge branch 'rightlib' into merge-libs-250425-0050
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)}; };