X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstrings%2Ffmt.cpp;h=60703d8a117c1a19d814cc2a2c63cadc2dca7d91;hb=HEAD;hp=07484dd61c7fe27d514ee4a325e1d2fe7bbe366d;hpb=faeafc9d652ba6caa350ca95dff14408b036ccfb;p=libs%2Fcore.git diff --git a/source/strings/fmt.cpp b/source/strings/fmt.cpp index 07484dd..60703d8 100644 --- a/source/strings/fmt.cpp +++ b/source/strings/fmt.cpp @@ -91,19 +91,7 @@ void Fmt::parse(const char *s) Fmt &Fmt::reset() { - wd = 0; - prec = 6; - spos = false; - fillc = ' '; - base = DEC; - sbase = false; - fmode = AUTOFLT; - spoint = false; - align = RIGHT; - ucase = false; - type = STR; - - return *this; + return *this = Fmt(); } void Fmt::apply(ostream &out) const