Fixed a typo - the wrong method was marked as deprecated in angle::cos.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Sep 2007 02:08:05 +0000 (02:08 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Sep 2007 02:08:05 +0000 (02:08 +0000)
git-svn-id: http://svn.voria.com/code@790 1f10aa63-cdf2-0310-b900-c93c546f37ac

ETL/trunk/ETL/_angle.h

index bd3231a..0b3461f 100644 (file)
@@ -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(); }