From 491bc4e8658798aed1083dc6c6224057f383ef9a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 12 Jan 2014 20:00:26 -0500 Subject: [PATCH] use LIBEVORAL_TEMPLATE_API Also clean up unnecessary comments - git blame provides complete per-line history, no need to leave comments behind --- libs/evoral/evoral/TimeConverter.hpp | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/libs/evoral/evoral/TimeConverter.hpp b/libs/evoral/evoral/TimeConverter.hpp index 29576c6ee8..5572876cef 100644 --- a/libs/evoral/evoral/TimeConverter.hpp +++ b/libs/evoral/evoral/TimeConverter.hpp @@ -35,7 +35,7 @@ namespace Evoral { * from() converts a time _origin_b + b into an offset from _origin_b in units of A. */ template -class LIBEVORAL_API TimeConverter { +class LIBEVORAL_TEMPLATE_API TimeConverter { public: TimeConverter () : _origin_b (0) {} TimeConverter (B ob) : _origin_b (ob) {} @@ -65,16 +65,12 @@ protected: * going on. */ template -class /*LIBEVORAL_API*/ IdentityConverter : public TimeConverter { +class LIBEVORAL_TEMPLATE_API IdentityConverter : public TimeConverter { public: - LIBEVORAL_API /* Added by JE - 27-10-2013 */IdentityConverter() {} - - LIBEVORAL_API /* Added by JE - 27-10-2013 */B to(A a) const; - LIBEVORAL_API /* Added by JE - 27-10-2013 */A from(B b) const; -/* Changed by JE - 27-10-2013. Was formerly. . . - B to(A a) const { return static_cast(a); } - A from(B b) const { return static_cast(b); } -*/ + IdentityConverter() {} + + B to(A a) const; + A from(B b) const; };