diff options
author | smalov <smalov@yandex-team.ru> | 2022-02-10 16:47:36 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:36 +0300 |
commit | f70d9720e13aef3a935e3f405b0eac554529e76e (patch) | |
tree | 5519c392aebdb16153197de07e4774c0a2be261a /util/generic/yexception_ut.cpp | |
parent | 7b659037613268d5eac4a1b6a7c5eff3cd36d4bf (diff) | |
download | ydb-f70d9720e13aef3a935e3f405b0eac554529e76e.tar.gz |
Restoring authorship annotation for <smalov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/yexception_ut.cpp')
-rw-r--r-- | util/generic/yexception_ut.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/yexception_ut.cpp b/util/generic/yexception_ut.cpp index cb3e29fed8..6feb5c65c0 100644 --- a/util/generic/yexception_ut.cpp +++ b/util/generic/yexception_ut.cpp @@ -16,17 +16,17 @@ static inline void Throw2DontMove() { #include <util/stream/output.h> #include <util/string/subst.h> -#include "yexception_ut.h" +#include "yexception_ut.h" #include "bt_exception.h" - + #if defined(_MSC_VER) #pragma warning(disable : 4702) /*unreachable code*/ #endif -static void CallbackFun(int i) { - throw i; -} - +static void CallbackFun(int i) { + throw i; +} + static IOutputStream* OUTS = nullptr; namespace NOuter::NInner { @@ -247,7 +247,7 @@ private: throw; } } - + //! tests propagation of an exception through C code //! @note on some platforms, for example GCC on 32-bit Linux without -fexceptions option, //! throwing an exception from a C++ callback through C code aborts program @@ -258,7 +258,7 @@ private: UNIT_ASSERT(false); } catch (int i) { UNIT_ASSERT_VALUES_EQUAL(i, N); - } + } } void TestMacroOverload() { |