Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Fix argparse.cpp shadowed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmadsen committed Jun 19, 2024
1 parent d40d1e9 commit 693746c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/timemory/utility/argparse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 693746c

Please sign in to comment.