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/?p=libs%2Fcore.git;a=commitdiff_plain;h=d3b4cafbbb684a6f65ee9cc19162f2546c5326cb;hp=7818b5ecb0a83126374896d7e678ca8aff9a1599 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; }