X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;h=68e836178a325dfbcbba429c58923085d95e0899;hb=f5951e7166dfd7028b95d7c780406f65afc5cdfc;hp=c74ffcef4f71fa08de3124b65c1c5171e721da80;hpb=d5dd704b2576f878809e87dbb8ff8591b9bdbce4;p=libs%2Fcore.git diff --git a/source/time/timedelta.cpp b/source/time/timedelta.cpp index c74ffce..68e8361 100644 --- a/source/time/timedelta.cpp +++ b/source/time/timedelta.cpp @@ -5,8 +5,7 @@ Copyright © 2006 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ -#include -#include +#include #include "timedelta.h" #include "units.h" @@ -16,17 +15,20 @@ namespace { using Msp::Time::RawTime; -void print_part(ostream &out, RawTime &value, RawTime unit, char sep, bool &first) +string format_part(RawTime &value, RawTime unit, char sep, bool &first) { if(value