diff options
| author | tobtoht <tob@featherwallet.org> | 2026-02-02 18:01:34 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2026-02-02 18:01:34 +0000 |
| commit | 4ce39e0c144a092415e31876bcb3cdaa43481272 (patch) | |
| tree | 98bdd15a32005e31836a2e23fe9d303639acb311 /src/common | |
| parent | 1a86c21b57dfc24003cf06aac1c9377505bb95c3 (diff) | |
| parent | 482daa7445f89acbe74f7a37023e4b89d17a97f0 (diff) | |
| download | monzero-core-4ce39e0c144a092415e31876bcb3cdaa43481272.tar.gz monzero-core-4ce39e0c144a092415e31876bcb3cdaa43481272.tar.xz monzero-core-4ce39e0c144a092415e31876bcb3cdaa43481272.zip | |
Merge pull request #10280
482daa7 Tweak command_line::add_arg for clang 21 (Lee *!* Clagett)
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)) { |
