diff options
author | Taylor C. Richberger <Taywee@gmx.com> | 2016-08-16 09:13:13 -0600 |
---|---|---|
committer | Taylor C. Richberger <Taywee@gmx.com> | 2016-08-16 09:13:13 -0600 |
commit | a60102277fabd086def3d641a05cb6c79190463e (patch) | |
tree | fd6981715fbbb645c6f4a298df151897e0fa94db | |
parent | Increase warnings (diff) | |
download | args.hxx-a60102277fabd086def3d641a05cb6c79190463e.tar.xz |
include guards
-rw-r--r-- | Doxyfile | 2 | ||||
-rw-r--r-- | args.hxx | 5 | ||||
-rw-r--r-- | test.cxx | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -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 @@ -25,6 +25,9 @@ * The important stuff is done inside the args namespace */ +#ifndef ARGS_HXX +#define ARGS_HXX + #include <algorithm> #include <exception> #include <functional> @@ -2051,3 +2054,5 @@ namespace args } }; } + +#endif @@ -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 <args.hxx> |