summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/__exception/exception.h
diff options
context:
space:
mode:
authormikhnenko <[email protected]>2024-03-27 10:35:27 +0300
committermikhnenko <[email protected]>2024-03-27 10:47:39 +0300
commit9b902baa4a858f2176c82aa0b20f88232f0da0d8 (patch)
tree7165a551c2244c4b3c28479ac3a3f6d62346ec89 /contrib/libs/cxxsupp/libcxx/include/__exception/exception.h
parenta1c989e67e438005fa0c34ed0e910536c8941862 (diff)
Update libcxx to 10 Oct 2023 dc129d6f715cf83a2072fc8de8b4e4c70bca6935
97ce40d276e44357a49b7a945af841896126dca8
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/__exception/exception.h')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__exception/exception.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__exception/exception.h b/contrib/libs/cxxsupp/libcxx/include/__exception/exception.h
index 3db0126da29..e724e1b99bd 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__exception/exception.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__exception/exception.h
@@ -72,7 +72,8 @@ public:
class _LIBCPP_EXPORTED_FROM_ABI exception {
public:
_LIBCPP_HIDE_FROM_ABI exception() _NOEXCEPT {}
- _LIBCPP_HIDE_FROM_ABI exception(const exception&) _NOEXCEPT = default;
+ _LIBCPP_HIDE_FROM_ABI exception(const exception&) _NOEXCEPT = default;
+ _LIBCPP_HIDE_FROM_ABI exception& operator=(const exception&) _NOEXCEPT = default;
virtual ~exception() _NOEXCEPT;
virtual const char* what() const _NOEXCEPT;
@@ -81,6 +82,8 @@ public:
class _LIBCPP_EXPORTED_FROM_ABI bad_exception : public exception {
public:
_LIBCPP_HIDE_FROM_ABI bad_exception() _NOEXCEPT {}
+ _LIBCPP_HIDE_FROM_ABI bad_exception(const bad_exception&) _NOEXCEPT = default;
+ _LIBCPP_HIDE_FROM_ABI bad_exception& operator=(const bad_exception&) _NOEXCEPT = default;
~bad_exception() _NOEXCEPT override;
const char* what() const _NOEXCEPT override;
};