From a60102277fabd086def3d641a05cb6c79190463e Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Tue, 16 Aug 2016 09:13:13 -0600 Subject: include guards --- Doxyfile | 2 +- args.hxx | 5 +++++ test.cxx | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Doxyfile b/Doxyfile index 3a626fa..4b43fe4 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "args" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 6.0.1 +PROJECT_NUMBER = 6.0.2 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/args.hxx b/args.hxx index 7be2305..da93fa1 100644 --- a/args.hxx +++ b/args.hxx @@ -25,6 +25,9 @@ * The important stuff is done inside the args namespace */ +#ifndef ARGS_HXX +#define ARGS_HXX + #include #include #include @@ -2051,3 +2054,5 @@ namespace args } }; } + +#endif diff --git a/test.cxx b/test.cxx index ad3bfd8..c7dbb8b 100644 --- a/test.cxx +++ b/test.cxx @@ -570,6 +570,7 @@ TEST_CASE("Kick-out should work via all flags and value flags", "[args]") REQUIRE(d3); } +#undef ARGS_HXX #define ARGS_TESTNAMESPACE #define ARGS_NOEXCEPT #include -- cgit v1.2.1