Improve wrapper.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user