aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/yexception_ut.cpp
diff options
context:
space:
mode:
authorsmalov <smalov@yandex-team.ru>2022-02-10 16:47:36 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:36 +0300
commitcfadda92ca195da3ad68d721a58872a4f1ced696 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/generic/yexception_ut.cpp
parentf70d9720e13aef3a935e3f405b0eac554529e76e (diff)
downloadydb-cfadda92ca195da3ad68d721a58872a4f1ced696.tar.gz
Restoring authorship annotation for <smalov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/yexception_ut.cpp')
-rw-r--r--util/generic/yexception_ut.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/yexception_ut.cpp b/util/generic/yexception_ut.cpp
index 6feb5c65c0d..cb3e29fed84 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() {