diff options
Diffstat (limited to 'lib/Enum.h')
-rw-r--r-- | lib/Enum.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -199,6 +199,12 @@ public: return *this; } + inline Enum& operator = (const Enum& rhs) { + if (&rhs != this) + value = rhs.value; + return *this; + } + /** * returns the enumeration value hold with this * enum. |