Add missing return value on assignment operator

This commit is contained in:
baldurk
2020-01-08 15:59:48 +00:00
parent 8235ac7e6f
commit 0fe3a1122e
+5 -1
View File
@@ -45,5 +45,9 @@ public:
}
inline bool operator==(const BitFlagIterator &rhs) const { return flags == rhs.flags; }
inline bool operator!=(const BitFlagIterator &rhs) const { return flags != rhs.flags; }
inline BitFlagIterator &operator=(const BitFlagIterator &rhs) { flags = rhs.flags; }
inline BitFlagIterator &operator=(const BitFlagIterator &rhs)
{
flags = rhs.flags;
return *this;
}
};