diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-15 13:13:05 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.ru> | 2022-02-15 13:13:05 +0300 |
commit | 441ade95e65652a8c592dfa3a88c14cddcf137f6 (patch) | |
tree | 62cc900f8581b4c4757632cb493b062a3e9520ba /util/generic | |
parent | c1045ff462fd9ab7e22a16a7fcf19a227f622964 (diff) | |
download | ydb-441ade95e65652a8c592dfa3a88c14cddcf137f6.tar.gz |
Remove #ifdef
ref:dbda5031b1bd1b53792dfdcd1d8edf91a0132311
Diffstat (limited to 'util/generic')
-rw-r--r-- | util/generic/yexception.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/util/generic/yexception.cpp b/util/generic/yexception.cpp index 2ce6c4369d..26c75b5f51 100644 --- a/util/generic/yexception.cpp +++ b/util/generic/yexception.cpp @@ -39,12 +39,7 @@ TString CurrentExceptionMessage() { } bool UncaughtException() noexcept { -// FIXME: use std::uncaught_exceptions() unconditionally after DEVTOOLS-8811 -#if defined(__cpp_lib_uncaught_exceptions) && !defined(_LIBCPP_AVAILABILITY_UNCAUGHT_EXCEPTIONS) return std::uncaught_exceptions() > 0; -#else - return std::uncaught_exception(); -#endif } std::string CurrentExceptionTypeName() { |