mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-02 05:33:53 +00:00
Fix Error when compiling with gcc with -Wparentheses-equality (#248)
Signed-off-by: Rafi Wiener <rafiw@mellanox.com>
This commit is contained in:
parent
e9934e058d
commit
b8ebce759d
@ -2346,7 +2346,7 @@ class App {
|
|||||||
if((help_ptr_ == opt) || (help_all_ptr_ == opt))
|
if((help_ptr_ == opt) || (help_all_ptr_ == opt))
|
||||||
throw OptionAlreadyAdded("cannot move help options");
|
throw OptionAlreadyAdded("cannot move help options");
|
||||||
|
|
||||||
if((config_ptr_ == opt))
|
if(config_ptr_ == opt)
|
||||||
throw OptionAlreadyAdded("cannot move config file options");
|
throw OptionAlreadyAdded("cannot move config file options");
|
||||||
|
|
||||||
auto iterator =
|
auto iterator =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user