aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-15 13:13:05 +0300
committerthegeorg <thegeorg@yandex-team.ru>2022-02-15 13:13:05 +0300
commit441ade95e65652a8c592dfa3a88c14cddcf137f6 (patch)
tree62cc900f8581b4c4757632cb493b062a3e9520ba /util/generic
parentc1045ff462fd9ab7e22a16a7fcf19a227f622964 (diff)
downloadydb-441ade95e65652a8c592dfa3a88c14cddcf137f6.tar.gz
Remove #ifdef
ref:dbda5031b1bd1b53792dfdcd1d8edf91a0132311
Diffstat (limited to 'util/generic')
-rw-r--r--util/generic/yexception.cpp5
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() {