summaryrefslogtreecommitdiffstats
path: root/util/system/yassert.h
diff options
context:
space:
mode:
authorgulin <[email protected]>2022-02-10 16:47:31 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:31 +0300
commitc807aae441c17fc7f577c35757a4b6e0bd909802 (patch)
treefc3268f43edbf6f854c0266cd05b91952484179b /util/system/yassert.h
parentd06e6190fa85c1fb4b011631503d53ea39942ff9 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/yassert.h')
-rw-r--r--util/system/yassert.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/yassert.h b/util/system/yassert.h
index 529823440cb..490ca4a7d96 100644
--- a/util/system/yassert.h
+++ b/util/system/yassert.h
@@ -52,7 +52,7 @@ inline bool YaIsDebuggerPresent() {
inline void YaDebugBreak() {
__debugbreak();
-}
+}
#undef Y_ASSERT
@@ -79,7 +79,7 @@ inline void YaDebugBreak() {
} \
} \
} while (false)
-#else
+#else
#define Y_ASSERT(a) \
do { \
if (false) { \
@@ -87,8 +87,8 @@ inline void YaDebugBreak() {
Y_UNUSED(__xxx); \
} \
} while (false)
-#endif
-
+#endif
+
namespace NPrivate {
/// method should not be used directly
[[noreturn]] void Panic(const TStaticBuf& file, int line, const char* function, const char* expr, const char* format, ...) noexcept Y_PRINTF_FORMAT(5, 6);