From: Guilherme Maciel Ferreira Date: Fri, 4 Feb 2011 15:26:08 +0000 (+0100) Subject: Changed the default parameters value from nice_unit_format() X-Git-Tag: v2.6~86^2~1 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=ee037ee389ac0e73c8f0f05980e793c7bcbbcab3;p=libi2ncommon Changed the default parameters value from nice_unit_format() --- diff --git a/src/stringfunc.hxx b/src/stringfunc.hxx index ff8ebed..3ee7a0b 100644 --- a/src/stringfunc.hxx +++ b/src/stringfunc.hxx @@ -204,8 +204,8 @@ enum UnitFormat { std::string nice_unit_format( const int64_t input, - const UnitFormat format = LongUnitFormat, - const UnitBase base = UnitBase1000 + const UnitFormat format = ShortUnitFormat, + const UnitBase base = UnitBase1024 ); bool replace_all(std::string &base, const std::string *ist, const std::string *soll);