diff options
author | Vasily Gerasimov <UgnineSirdis@gmail.com> | 2022-02-10 16:49:09 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:09 +0300 |
commit | 6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (patch) | |
tree | f69637041e6fed76ebae0c74ae1fa0c4be6ab5b4 /util/generic/mem_copy_ut.cpp | |
parent | e5d4696304c6689379ac7ce334512404d4b7836c (diff) | |
download | ydb-6cdc8f140213c595e4ad38bc3d97fcef1146b8c3.tar.gz |
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/mem_copy_ut.cpp')
-rw-r--r-- | util/generic/mem_copy_ut.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/mem_copy_ut.cpp b/util/generic/mem_copy_ut.cpp index 8b55a11cf6..050fd7fa18 100644 --- a/util/generic/mem_copy_ut.cpp +++ b/util/generic/mem_copy_ut.cpp @@ -3,12 +3,12 @@ #include <library/cpp/testing/unittest/registar.h> namespace { - class TAssignBCalled: public yexception { - }; - + class TAssignBCalled: public yexception { + }; + struct TB { inline TB& operator=(const TB&) { - throw TAssignBCalled(); + throw TAssignBCalled(); return *this; } @@ -69,7 +69,7 @@ Y_UNIT_TEST_SUITE(TestMemCopy) { TC c1[5]; TC c2[5]; - UNIT_ASSERT_EXCEPTION(MemCopy(c2, c1, 5), TAssignBCalled); + UNIT_ASSERT_EXCEPTION(MemCopy(c2, c1, 5), TAssignBCalled); } template <class T> |