diff options
author | ivanzhukov <ivanzhukov@yandex-team.ru> | 2022-02-10 16:49:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:40 +0300 |
commit | 0892d79ab411592ad25175c4bdadbcb09b466cf5 (patch) | |
tree | 98dfdd45463c9bd747101748a9ca25d2917390fd /library/cpp/monlib/exception/exception.h | |
parent | 1b7466cb957659079ebebbb5d76e64e51f3306f0 (diff) | |
download | ydb-0892d79ab411592ad25175c4bdadbcb09b466cf5.tar.gz |
Restoring authorship annotation for <ivanzhukov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/exception/exception.h')
-rw-r--r-- | library/cpp/monlib/exception/exception.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/monlib/exception/exception.h b/library/cpp/monlib/exception/exception.h index 027c22b27d..6cc36ca7da 100644 --- a/library/cpp/monlib/exception/exception.h +++ b/library/cpp/monlib/exception/exception.h @@ -1,13 +1,13 @@ -#pragma once - - -namespace NMonitoring { - -#define MONLIB_ENSURE_EX(CONDITION, THROW_EXPRESSION) \ - do { \ - if (Y_UNLIKELY(!(CONDITION))) { \ - throw THROW_EXPRESSION; \ - } \ - } while (false) - -} // namespace NSolomon +#pragma once + + +namespace NMonitoring { + +#define MONLIB_ENSURE_EX(CONDITION, THROW_EXPRESSION) \ + do { \ + if (Y_UNLIKELY(!(CONDITION))) { \ + throw THROW_EXPRESSION; \ + } \ + } while (false) + +} // namespace NSolomon |