Commit b981b120438a2a6724a1da1b7dcd31f12a7120e2
Merge pull request #1 from wichtounet/patch-1
Add include guards to cxxopts.hpp
Showing
1 changed file
with
5 additions
and
0 deletions
src/cxxopts.hpp
| @@ -22,6 +22,9 @@ THE SOFTWARE. | @@ -22,6 +22,9 @@ THE SOFTWARE. | ||
| 22 | 22 | ||
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | +#ifndef CXX_OPTS_HPP | ||
| 26 | +#define CXX_OPTS_HPP | ||
| 27 | + | ||
| 25 | #include <regex> | 28 | #include <regex> |
| 26 | #include <set> | 29 | #include <set> |
| 27 | #include <map> | 30 | #include <map> |
| @@ -469,3 +472,5 @@ namespace cxxopts | @@ -469,3 +472,5 @@ namespace cxxopts | ||
| 469 | }; | 472 | }; |
| 470 | 473 | ||
| 471 | } | 474 | } |
| 475 | + | ||
| 476 | +#endif //CXX_OPTS_HPP |