From eecba3b5fcb47a01e6e13ee1940def989f6dd22d Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Thu, 28 Feb 2002 20:56:59 +0000 Subject: - Added SIS stuff by Daniel Brahneborg --- lib/Enum.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Enum.h') diff --git a/lib/Enum.h b/lib/Enum.h index e29b8c0..79c2f80 100644 --- a/lib/Enum.h +++ b/lib/Enum.h @@ -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. -- cgit v1.2.3