aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.com>2022-08-25 11:49:08 +0300
committerheretic <heretic@yandex-team.com>2022-08-25 11:49:08 +0300
commit8621bf39f200b2c2d907bbef072c5a6e765b6273 (patch)
tree92fc33b7c106d08930c11898d7e3d7ef4b5a41fd
parent2815902b8c6d81eb483df0214ac1b3f5e6956096 (diff)
downloadydb-8621bf39f200b2c2d907bbef072c5a6e765b6273.tar.gz
Prepare to clang14: fix yql/providers -Wunused-but-set-variable -Wdeprecated-copy
fxi yql/providers/yt/provider -Wunused-but-set-variable fix yql/providers/rtmr/gateway -Wunused-but-set-variable fix yql/providers/yt/codec -Wdeprecated-cpoy
-rw-r--r--ydb/library/yql/utils/hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ydb/library/yql/utils/hash.h b/ydb/library/yql/utils/hash.h
index c903c3454c1..e67da789fd9 100644
--- a/ydb/library/yql/utils/hash.h
+++ b/ydb/library/yql/utils/hash.h
@@ -24,6 +24,8 @@ struct TVaryingHash {
: Underlying(underlying)
{}
+ TVaryingHash& operator=(const TVaryingHash& other) = default;
+
size_t operator()(const T& elem) const {
return VaryingHash(Underlying(elem));
}