X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.h;h=ea1f7d36a33fcea90ba552e58cb8b7546e462f34;hp=56ab05123584ef83fcc51cd838802ef4a941c453;hb=d3b4cafbbb684a6f65ee9cc19162f2546c5326cb;hpb=7818b5ecb0a83126374896d7e678ca8aff9a1599;ds=sidebyside 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; }