diff --git a/source/timemory/utility/argparse.hpp b/source/timemory/utility/argparse.hpp index e7955fce4..e552fa8f7 100644 --- a/source/timemory/utility/argparse.hpp +++ b/source/timemory/utility/argparse.hpp @@ -674,9 +674,9 @@ struct argument_parser } private: - argument(const std::string& name, std::string desc, bool required = false) + argument(const std::string& name, std::string desc, bool req = false) : m_desc(std::move(desc)) - , m_required(required) + , m_required(req) { m_names.emplace_back(name); }