From 9d5699ebfe25b8762a561ce37d24e5fb4a7b3ef5 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 25 Jan 2008 15:41:45 +0000 Subject: [PATCH] Fix a bug found by g++ 4.3, and comment out the method, because it's never used anyway git-svn-id: http://svn.voria.com/code@1481 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/editmode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-studio/trunk/src/synfigapp/editmode.h b/synfig-studio/trunk/src/synfigapp/editmode.h index 7581ae1..0dbfac1 100644 --- a/synfig-studio/trunk/src/synfigapp/editmode.h +++ b/synfig-studio/trunk/src/synfigapp/editmode.h @@ -74,9 +74,9 @@ operator&(const EditMode& lhs, const EditMode& rhs) //! Flag Comparison. THIS IS NOT LESS-THAN-OR-EQUAL-TO. /*! This function will return true of all of the flags ** in the \a rhs are set in the \a lhs */ -inline bool -operator<=(const EditMode& lhs, const EditMode& rhs) -{ return lhs&rhs==int(rhs); } +// inline bool +// operator<=(const EditMode& lhs, const EditMode& rhs) +// { return (lhs&rhs)==int(rhs); } }; // END if namespace synfigapp /* === E N D =============================================================== */ -- 2.7.4