X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;h=c74ffcef4f71fa08de3124b65c1c5171e721da80;hb=d5dd704b2576f878809e87dbb8ff8591b9bdbce4;hp=f7b037ea7d154dac0e7b931106fbd2932a1dbbba;hpb=80bbee2f401b4af71cb1b80508bdb0d2bb61fa40;p=libs%2Fcore.git diff --git a/source/time/timedelta.cpp b/source/time/timedelta.cpp index f7b037e..c74ffce 100644 --- a/source/time/timedelta.cpp +++ b/source/time/timedelta.cpp @@ -1,8 +1,10 @@ -/* +/* $Id$ + This file is part of libmspcore Copyright © 2006 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ + #include #include #include "timedelta.h" @@ -12,17 +14,19 @@ using namespace std; namespace { -void print_part(ostream &out, int64_t &value, int64_t unit, char sep, bool &first) +using Msp::Time::RawTime; + +void print_part(ostream &out, RawTime &value, RawTime unit, char sep, bool &first) { - if(!value || (value