From df46ab2c02d39d9c09cb95d0d2d4268c47168eee Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 28 May 2011 23:45:34 +0000 Subject: [PATCH] attempt to be compliant with gcc 4.6 (assuming that its more compliant with standards), by defining a default constructor for an object that is in static/global scope git-svn-id: svn://localhost/ardour2/branches/3.0@9624 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/evoral/TimeConverter.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/evoral/evoral/TimeConverter.hpp b/libs/evoral/evoral/TimeConverter.hpp index 17c8b07665..5363f7dd1d 100644 --- a/libs/evoral/evoral/TimeConverter.hpp +++ b/libs/evoral/evoral/TimeConverter.hpp @@ -29,7 +29,8 @@ namespace Evoral { template class TimeConverter { public: - TimeConverter (B ob = 0) : _origin_b (ob) {} + TimeConverter () : _origin_b (0) {} + TimeConverter (B ob) : _origin_b (ob) {} virtual ~TimeConverter() {} /** Convert A time to B time (A to B) */