Skip to content

Commit

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

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

0 comments on commit 5de93f1

Please sign in to comment.