From 6be8a03921e2844da09a114dd0b3f7cf1405b816 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 28 Sep 2007 02:08:05 +0000 Subject: [PATCH] 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 --- ETL/trunk/ETL/_angle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.7.4