From 15a2a94e4a5e221f62a75d0609d65292239dd504 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Sat, 28 Jan 2017 18:57:58 -0500 Subject: [PATCH] Fix for GCC namespace warning --- include/CLI.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/CLI.hpp b/include/CLI.hpp index 28ee9fe9..6a7e8bf4 100644 --- a/include/CLI.hpp +++ b/include/CLI.hpp @@ -32,6 +32,9 @@ std::string join(const T& v, std::string delim = ",") { return s.str(); } +} + +namespace CLI { struct Combiner { int num; @@ -57,10 +60,6 @@ struct Combiner { return *this | b; } }; -} - - -namespace CLI { struct Error : public std::runtime_error { Error(std::string parent, std::string name) : runtime_error(parent + ": " + name) {}