diff --git a/include/wups/config/WUPSConfigCategory.h b/include/wups/config/WUPSConfigCategory.h index 22d3db1..9f21988 100644 --- a/include/wups/config/WUPSConfigCategory.h +++ b/include/wups/config/WUPSConfigCategory.h @@ -20,7 +20,8 @@ class WUPSConfigCategory { WUPSConfigCategory &operator=(WUPSConfigCategory &&src) noexcept { if (this != &src) { - src.mHandle = {}; + this->mHandle = src.mHandle; + src.mHandle = {}; } return *this; }