diff options
author | heretic <heretic@yandex-team.com> | 2022-09-09 18:33:05 +0300 |
---|---|---|
committer | heretic <heretic@yandex-team.com> | 2022-09-09 18:33:05 +0300 |
commit | 35d11d7f064bf324e236e14500a05cd7b69a6b9a (patch) | |
tree | 6e7b17d682dbcc66af4b9f250c0922c69297872f | |
parent | 53fe234c39b8b092d5b1e25088a54ddde3de39a1 (diff) | |
download | ydb-35d11d7f064bf324e236e14500a05cd7b69a6b9a.tar.gz |
Prepare to clang14: fix ydb/core -Wdeprecated-copy
fix ydb/core -Wdeprecated-copy
-rw-r--r-- | ydb/core/cms/console/config_index.h | 1 | ||||
-rw-r--r-- | ydb/core/testlib/test_client.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ydb/core/cms/console/config_index.h b/ydb/core/cms/console/config_index.h index b332b90b8f..83f5d38426 100644 --- a/ydb/core/cms/console/config_index.h +++ b/ydb/core/cms/console/config_index.h @@ -123,6 +123,7 @@ struct TUsageScope { TUsageScope(); TUsageScope(const TUsageScope &other) = default; + TUsageScope& operator=(const TUsageScope &other) = default; TUsageScope(const NKikimrConsole::TUsageScope &scope, ui32 order = 0); bool operator==(const TUsageScope &rhs) const { diff --git a/ydb/core/testlib/test_client.h b/ydb/core/testlib/test_client.h index 57edf86942..b71ea58a00 100644 --- a/ydb/core/testlib/test_client.h +++ b/ydb/core/testlib/test_client.h @@ -201,6 +201,7 @@ namespace Tests { } TServerSettings(const TServerSettings& settings) = default; + TServerSettings& operator=(const TServerSettings& settings) = default; }; class TServer : public TThrRefBase, TMoveOnly { |