diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
commit | a5950576e397b1909261050b8c7da16db58f10b1 (patch) | |
tree | 7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /contrib/libs/cxxsupp/libcxx/src | |
parent | 81eddc8c0b55990194e112b02d127b87d54164a9 (diff) | |
download | ydb-a5950576e397b1909261050b8c7da16db58f10b1.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_pointer_msvc.ipp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_pointer_msvc.ipp b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_pointer_msvc.ipp index 300acbf759c..63126a53053 100644 --- a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_pointer_msvc.ipp +++ b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_pointer_msvc.ipp @@ -137,8 +137,8 @@ struct ExceptionPtr { free(exception_object); } - // _bad_alloc_storage must be initialized before bad_alloc, so we declare and define it first. - static std::bad_alloc _bad_alloc_storage; + // _bad_alloc_storage must be initialized before bad_alloc, so we declare and define it first. + static std::bad_alloc _bad_alloc_storage; static ExceptionPtr bad_alloc; //static ExceptionPtr bad_exception; }; @@ -148,11 +148,11 @@ struct ExceptionPtr { #pragma clang diagnostic ignored "-Waddress-of-temporary" #endif -std::bad_alloc ExceptionPtr::_bad_alloc_storage; - +std::bad_alloc ExceptionPtr::_bad_alloc_storage; + ExceptionPtr ExceptionPtr::bad_alloc( - &ExceptionPtr::_bad_alloc_storage, - reinterpret_cast<const EHThrowInfo*>(__GetExceptionInfo(ExceptionPtr::_bad_alloc_storage))); + &ExceptionPtr::_bad_alloc_storage, + reinterpret_cast<const EHThrowInfo*>(__GetExceptionInfo(ExceptionPtr::_bad_alloc_storage))); /* ExceptionPtr ExceptionPtr::bad_exception(&std::bad_exception(), |