aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doxyfile2
-rw-r--r--args.hxx5
-rw-r--r--test.cxx1
3 files changed, 7 insertions, 1 deletions
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 <algorithm>
#include <exception>
#include <functional>
@@ -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 <args.hxx>