mirror of
https://github.com/monero-project/monero.git
synced 2026-06-12 19:11:36 -07:00
Tweak command_line::add_arg for clang 21
This commit is contained in:
@@ -207,8 +207,7 @@ namespace command_line
|
||||
description.add_options()(arg.name, make_semantic(arg, def), arg.description);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline void add_arg(boost::program_options::options_description& description, const arg_descriptor<bool, false>& arg, bool unique)
|
||||
inline void add_arg(boost::program_options::options_description& description, const arg_descriptor<bool, false>& arg, bool unique = true)
|
||||
{
|
||||
if (0 != description.find_nothrow(arg.name, false))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user