Skip to content

Commit

Permalink
Fix move operator for WUPSConfigItem
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Apr 25, 2024
1 parent 5de93f1 commit 989b129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/wups/config/WUPSConfigItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class WUPSConfigItem {

WUPSConfigItem &operator=(WUPSConfigItem &&src) noexcept {
if (this != &src) {
src.mHandle = {};
this->mHandle = src.mHandle;
src.mHandle = {};
}
return *this;
}
Expand Down

0 comments on commit 989b129

Please sign in to comment.