From f63a099fadf0929b042165bef1bba87e624ce957 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 21 Aug 2022 13:08:32 -0400 Subject: [PATCH] Remove unused function to squash warning --- libs/kimath/include/geometry/eda_angle.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libs/kimath/include/geometry/eda_angle.h b/libs/kimath/include/geometry/eda_angle.h index 1bca8e91bf..b2bedbe887 100644 --- a/libs/kimath/include/geometry/eda_angle.h +++ b/libs/kimath/include/geometry/eda_angle.h @@ -152,17 +152,6 @@ public: inline double AsRadians() const { return m_value * DEGREES_TO_RADIANS; } - inline double AsAngleType( EDA_ANGLE_T aAngleType ) const - { - switch( aAngleType ) - { - case TENTHS_OF_A_DEGREE_T: return AsTenthsOfADegree(); - case DEGREES_T: return AsDegrees(); - case RADIANS_T: return AsRadians(); - default: assert( false ); - } - } - static constexpr double DEGREES_TO_RADIANS = M_PI / 180.0; /**