From: Mikko Rasa Date: Sat, 7 Jul 2012 06:56:27 +0000 (+0300) Subject: Style fix: split function bodies to separate line outside of class X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=d3b4cafbbb684a6f65ee9cc19162f2546c5326cb;p=libs%2Fcore.git Style fix: split function bodies to separate line outside of class --- diff --git a/source/core/getopt.h b/source/core/getopt.h index 56ab051..ea1f7d3 100644 --- a/source/core/getopt.h +++ b/source/core/getopt.h @@ -158,8 +158,11 @@ public: std::string generate_help() const; }; -template<> inline void GetOpt::Option::store() { data = true; } -template<> inline void GetOpt::Option::store() { ++data; } +template<> inline void GetOpt::Option::store() +{ data = true; } + +template<> inline void GetOpt::Option::store() +{ ++data; } template<> inline void GetOpt::Option::store(const std::string &a) { data = a; }