From c23661e34b738e16220d8b7afbe0ab5cc584f105 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Thu, 27 Apr 2017 16:47:11 -0400 Subject: [PATCH] Adding static cast to fix latest change --- 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 277476d5..2b2c8bcd 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -530,7 +530,7 @@ public: /// Print a nice error message and return the exit code int exit(const Error& e) const { - if(e.exit_code != ExitCodes::Success) { + if(e.exit_code != static_cast(ExitCodes::Success)) { std::cerr << "ERROR: "; std::cerr << e.what() << std::endl; if(e.print_help)