1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 20:53:52 +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:
Rafi Wiener 2019-03-03 13:38:09 +02:00 committed by Henry Schreiner
parent e9934e058d
commit b8ebce759d

View File

@ -2346,7 +2346,7 @@ class App {
if((help_ptr_ == opt) || (help_all_ptr_ == opt))
throw OptionAlreadyAdded("cannot move help options");
if((config_ptr_ == opt))
if(config_ptr_ == opt)
throw OptionAlreadyAdded("cannot move config file options");
auto iterator =