From: dooglus Date: Fri, 28 Sep 2007 02:08:05 +0000 (+0000) Subject: Fixed a typo - the wrong method was marked as deprecated in angle::cos. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6be8a03921e2844da09a114dd0b3f7cf1405b816;p=synfig.git Fixed a typo - the wrong method was marked as deprecated in angle::cos. git-svn-id: http://svn.voria.com/code@790 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/ETL/trunk/ETL/_angle.h b/ETL/trunk/ETL/_angle.h index bd3231a..0b3461f 100644 --- a/ETL/trunk/ETL/_angle.h +++ b/ETL/trunk/ETL/_angle.h @@ -366,10 +366,10 @@ public: cos(const angle &a):angle(a) { } cos mod()const { return angle::mod(); } cos dist(const angle &rhs)const { return angle::dist(rhs); } - operator value_type()const ETL_DEPRECATED_FUNCTION; #ifndef ETL_NO_DEPRECATED - value_type get()const { return (value_type)std::cos(v); } + operator value_type()const ETL_DEPRECATED_FUNCTION; #endif + value_type get()const { return (value_type)std::cos(v); } }; // END of class angle::cos inline angle::cos::operator angle::value_type()const { return get(); }