X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=devel%2Fdevel.ma%2FPrinting.h;h=4e42a554638c46d6f9020f5eaab3973980f9d119;hb=95763429e4df1295fd4e9472af6bb8763231f557;hp=e15e7f15258db1de8918b15022445bd7e662e26d;hpb=57f0b183ee76e8d44a406ec8308a1544cc739658;p=platform%2Fupstream%2Flibzypp.git diff --git a/devel/devel.ma/Printing.h b/devel/devel.ma/Printing.h index e15e7f1..4e42a55 100644 --- a/devel/devel.ma/Printing.h +++ b/devel/devel.ma/Printing.h @@ -18,17 +18,17 @@ using std::endl; struct Print { - template - bool operator()( const _Tp & val_r ) const + template + bool operator()( const Tp & val_r ) const { USR << val_r << endl; return true; } }; /////////////////////////////////////////////////////////////////// -template - struct PrintOn : public std::unary_function<_Tp, bool> +template + struct PrintOn : public std::unary_function { - bool operator()( const _Tp & obj ) const + bool operator()( const Tp & obj ) const { if ( _leadNL ) _str << std::endl << _prfx << obj;