aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/mem_copy_ut.cpp
diff options
context:
space:
mode:
authorVasily Gerasimov <UgnineSirdis@gmail.com>2022-02-10 16:49:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:10 +0300
commit1eb755fbca92172a6aec2f57371b2b3a19dfab43 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/mem_copy_ut.cpp
parent6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (diff)
downloadydb-1eb755fbca92172a6aec2f57371b2b3a19dfab43.tar.gz
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/mem_copy_ut.cpp')
-rw-r--r--util/generic/mem_copy_ut.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/mem_copy_ut.cpp b/util/generic/mem_copy_ut.cpp
index 050fd7fa18..8b55a11cf6 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>