diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/cxxsupp/libcxx/src | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) | |
download | ydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 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 63126a53053..300acbf759c 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(), |