diff options
| author | Lee *!* Clagett <code@leeclagett.com> | 2026-01-12 18:49:20 -0500 |
|---|---|---|
| committer | Lee *!* Clagett <code@leeclagett.com> | 2026-01-12 18:49:20 -0500 |
| commit | 482daa7445f89acbe74f7a37023e4b89d17a97f0 (patch) | |
| tree | 1e34c07a59fda4942cb370b7586f1f899884956e /src/common | |
| parent | ae08557f713a41f3f7267fcb08bbbe87f18d7932 (diff) | |
| download | monzero-core-482daa7445f89acbe74f7a37023e4b89d17a97f0.tar.gz monzero-core-482daa7445f89acbe74f7a37023e4b89d17a97f0.tar.xz monzero-core-482daa7445f89acbe74f7a37023e4b89d17a97f0.zip | |
Tweak command_line::add_arg for clang 21
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/command_line.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/command_line.h b/src/common/command_line.h index d80a1b0df..fbd6549af 100644 --- a/src/common/command_line.h +++ b/src/common/command_line.h @@ -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)) { |
