diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index b726261..bbfed12 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1283,8 +1283,7 @@ namespace cxxopts class Options { - typedef std::unordered_map> - OptionMap; + using OptionMap = std::unordered_map>; public: Options(std::string program, std::string help_string = "") @@ -2031,7 +2030,7 @@ inline String Options::help_one_group(const std::string& g) const { - typedef std::vector> OptionHelp; + using OptionHelp = std::vector>; auto group = m_help.find(g); if (group == m_help.end())