summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-05-08 23:05:16 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-05-08 23:05:16 +0100
commita3dd32766f98607fac9cefe0715b965ce899ade6 (patch)
tree03a52aa70f6e3953575ad29df39ee5dd9690c355
parentInline the formatter consts (diff)
downloadlibadhocutil-a3dd32766f98607fac9cefe0715b965ce899ade6.tar.bz2
libadhocutil-a3dd32766f98607fac9cefe0715b965ce899ade6.tar.xz
libadhocutil-a3dd32766f98607fac9cefe0715b965ce899ade6.zip
Add missing include guardlibadhocutil-0.5.1
-rw-r--r--libadhocutil/compileTimeFormatter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h
index c6f8de6..17af36d 100644
--- a/libadhocutil/compileTimeFormatter.h
+++ b/libadhocutil/compileTimeFormatter.h
@@ -1,3 +1,6 @@
+#ifndef ADHOCUTIL_COMPILE_TIME_FORMATTER_H
+#define ADHOCUTIL_COMPILE_TIME_FORMATTER_H
+
#include <sstream>
#include <string.h>
#include <boost/preprocessor/variadic/size.hpp>
@@ -229,3 +232,5 @@ namespace AdHoc {
#define AdHocFormatter(name, str) \
AdHocFormatterTypedef(name, str, MAKE_UNIQUE(name))
+#endif
+