Improve wrapper.

This commit is contained in:
2022-03-05 11:33:00 +01:00
parent 8358558ddb
commit 46b2698abb
6 changed files with 25 additions and 18 deletions

View File

@@ -35,6 +35,7 @@ Wrapper::~Wrapper() noexcept {
Wrapper& Wrapper::operator=(const Wrapper& other) noexcept {
if (&other != this) {
m_context = other.m_context;
m_flags = other.m_flags & ~OwnUnderlyingObject;
}
return *this;
}