X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;fp=source%2Ftime%2Ftimedelta.cpp;h=68e836178a325dfbcbba429c58923085d95e0899;hp=c74ffcef4f71fa08de3124b65c1c5171e721da80;hb=b01fcd25038798739fed784c222aabdd63eb58d9;hpb=d72d1b872b91a864f453fa4dc209561e6b279748 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