From: dooglus Date: Fri, 25 Jan 2008 15:41:45 +0000 (+0000) Subject: Fix a bug found by g++ 4.3, and comment out the method, because it's never used anyway X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9d5699ebfe25b8762a561ce37d24e5fb4a7b3ef5;p=synfig.git 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 --- 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 =============================================================== */