diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 8c4586a..d247ba7 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1480,7 +1480,6 @@ namespace cxxopts ++m_iter; if(m_iter == m_pr->m_sequential.end()) { - std::cout << "into defaults" << std::endl; m_iter = m_pr->m_defaults.begin(); return *this; } @@ -1523,11 +1522,11 @@ namespace cxxopts ParseResult(const ParseResult&) = default; ParseResult(NameHashMap&& keys, ParsedHashMap&& values, std::vector sequential, - std::vector defaults, std::vector&& unmatched_args) + std::vector default_opts, std::vector&& unmatched_args) : m_keys(std::move(keys)) , m_values(std::move(values)) , m_sequential(std::move(sequential)) - , m_defaults(std::move(defaults)) + , m_defaults(std::move(default_opts)) , m_unmatched(std::move(unmatched_args)) { }