From f62ebb9688d2d6612c0817f68ca425a84e69dd4e Mon Sep 17 00:00:00 2001 From: Jarryd Beck Date: Fri, 31 Oct 2014 08:30:50 +1100 Subject: [PATCH] formatting, inline --- src/cxxopts.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/cxxopts.hpp b/src/cxxopts.hpp index a081599..f72917d 100644 --- a/src/cxxopts.hpp +++ b/src/cxxopts.hpp @@ -683,9 +683,11 @@ namespace cxxopts std::string help(const std::vector& groups = {""}) const; + inline const std::vector groups() const; + inline const HelpGroupDetails& group_help(const std::string& group) const; @@ -1266,7 +1268,11 @@ Options::groups() const m_help.begin(), m_help.end(), std::back_inserter(g), - [](const std::map::value_type& pair){return pair.first;}); + [] (const std::map::value_type& pair) + { + return pair.first; + } + ); return g; }