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 | 32 | return s.str(); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | +} | |
| 36 | + | |
| 37 | +namespace CLI { | |
| 35 | 38 | |
| 36 | 39 | struct Combiner { |
| 37 | 40 | int num; |
| ... | ... | @@ -57,10 +60,6 @@ struct Combiner { |
| 57 | 60 | return *this | b; |
| 58 | 61 | } |
| 59 | 62 | }; |
| 60 | -} | |
| 61 | - | |
| 62 | - | |
| 63 | -namespace CLI { | |
| 64 | 63 | |
| 65 | 64 | struct Error : public std::runtime_error { |
| 66 | 65 | Error(std::string parent, std::string name) : runtime_error(parent + ": " + name) {} | ... | ... |