From 790f633d2d0eda52667c7767b232d9b231dc4f0b Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 17 May 2007 16:28:53 +0000 Subject: [PATCH] Fix multiple definitions of operator| for eventxx::type when linking. --- eventxx | 1 + 1 file changed, 1 insertion(+) diff --git a/eventxx b/eventxx index dff4ea3..7dd8c48 100644 --- a/eventxx +++ b/eventxx @@ -414,6 +414,7 @@ enum type PERSIST = EV_PERSIST ///< Not really an event, is an event modifier. }; +inline type operator| (const type& t1, const type& t2) { int r = static_cast< int >(t1) | static_cast< int >(t2); -- 2.43.0