summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/evoral/evoral/TimeConverter.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/evoral/evoral/TimeConverter.hpp b/libs/evoral/evoral/TimeConverter.hpp
index 5363f7dd1d..5fcfbfcf2b 100644
--- a/libs/evoral/evoral/TimeConverter.hpp
+++ b/libs/evoral/evoral/TimeConverter.hpp
@@ -55,6 +55,8 @@ protected:
/** A stub TimeConverter that simple statically casts between types. */
template<typename A, typename B>
class IdentityConverter : public TimeConverter<A,B> {
+ public:
+ IdentityConverter() {}
B to(A a) const { return static_cast<B>(a); }
A from(B b) const { return static_cast<A>(b); }
};