mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-01-26 07:02:10 +00:00
Fixed hash copying in assignemt operator
This commit is contained in:
@@ -171,7 +171,9 @@ public:
|
||||
/// @b Complexity: O(1)
|
||||
stacktrace& operator=(const stacktrace& st) BOOST_NOEXCEPT {
|
||||
back_.~backend();
|
||||
hash_code_ = st.hash_code_;
|
||||
new (&back_) boost::stacktrace::detail::backend(st.back_, &impl_);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user