From b8ebce759dd095a8cfc5569bb9fc3b0542ac17e5 Mon Sep 17 00:00:00 2001 From: Rafi Wiener Date: Sun, 3 Mar 2019 13:38:09 +0200 Subject: [PATCH] Fix Error when compiling with gcc with -Wparentheses-equality (#248) Signed-off-by: Rafi Wiener --- include/CLI/App.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index b18485cd..28fb64ae 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -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 =