Skip to content

Commit

Permalink
Removed warning (#162)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
  • Loading branch information
ahcorde committed Nov 17, 2022
1 parent 563fdb7 commit 370bc75
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class SafeEnum
: mFlags(singleFlag) {}
SafeEnum(const SafeEnum & original)
: mFlags(original.mFlags) {}
~SafeEnum() = default;

SafeEnum & operator|=(ENUM addValue) {mFlags |= addValue; return *this;}
SafeEnum operator|(ENUM addValue) {SafeEnum result(*this); result |= addValue; return result;}
Expand Down

0 comments on commit 370bc75

Please sign in to comment.