Commit 15a2a94e4a5e221f62a75d0609d65292239dd504
1 parent
0c07c8ad
Fix for GCC namespace warning
Showing
1 changed file
with
3 additions
and
4 deletions
include/CLI.hpp
| @@ -32,6 +32,9 @@ std::string join(const T& v, std::string delim = ",") { | @@ -32,6 +32,9 @@ std::string join(const T& v, std::string delim = ",") { | ||
| 32 | return s.str(); | 32 | return s.str(); |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | +} | ||
| 36 | + | ||
| 37 | +namespace CLI { | ||
| 35 | 38 | ||
| 36 | struct Combiner { | 39 | struct Combiner { |
| 37 | int num; | 40 | int num; |
| @@ -57,10 +60,6 @@ struct Combiner { | @@ -57,10 +60,6 @@ struct Combiner { | ||
| 57 | return *this | b; | 60 | return *this | b; |
| 58 | } | 61 | } |
| 59 | }; | 62 | }; |
| 60 | -} | ||
| 61 | - | ||
| 62 | - | ||
| 63 | -namespace CLI { | ||
| 64 | 63 | ||
| 65 | struct Error : public std::runtime_error { | 64 | struct Error : public std::runtime_error { |
| 66 | Error(std::string parent, std::string name) : runtime_error(parent + ": " + name) {} | 65 | Error(std::string parent, std::string name) : runtime_error(parent + ": " + name) {} |