]> git.tdb.fi Git - libs/core.git/commitdiff
Style fix: split function bodies to separate line outside of class
authorMikko Rasa <tdb@tdb.fi>
Sat, 7 Jul 2012 06:56:27 +0000 (09:56 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 7 Jul 2012 06:56:27 +0000 (09:56 +0300)
source/core/getopt.h

index 56ab05123584ef83fcc51cd838802ef4a941c453..ea1f7d36a33fcea90ba552e58cb8b7546e462f34 100644 (file)
@@ -158,8 +158,11 @@ public:
        std::string generate_help() const;
 };
 
-template<> inline void GetOpt::Option<bool>::store()     { data = true; }
-template<> inline void GetOpt::Option<unsigned>::store() { ++data; }
+template<> inline void GetOpt::Option<bool>::store()
+{ data = true; }
+
+template<> inline void GetOpt::Option<unsigned>::store()
+{ ++data; }
 
 template<> inline void GetOpt::Option<std::string>::store(const std::string &a)
 { data = a; }