]> git.llucax.com Git - software/eventxx.git/commitdiff
Fix multiple definitions of operator| for eventxx::type when linking.
authorLeandro Lucarella <llucarella@integratech.com.ar>
Thu, 17 May 2007 16:28:53 +0000 (16:28 +0000)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Thu, 17 May 2007 16:28:53 +0000 (16:28 +0000)
eventxx

diff --git a/eventxx b/eventxx
index dff4ea374cc9ffcdcc9c91868983113e9351ce1b..7dd8c48e676cea39dd25a223d31db93a20dfa835 100644 (file)
--- 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);