From 6bf3266a137aa09e251a87cc3f309eee66747f10 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 10 May 2020 11:08:44 +0100 Subject: Add missing header, add proper namespacing in macro --- libadhocutil/compileTimeFormatter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h index d13492a..5b39167 100644 --- a/libadhocutil/compileTimeFormatter.h +++ b/libadhocutil/compileTimeFormatter.h @@ -2,6 +2,7 @@ #define ADHOCUTIL_COMPILE_TIME_FORMATTER_H #include +#include #include #include #include @@ -254,7 +255,7 @@ namespace AdHoc { typename std::decay::type, L>(S, L), L> { }; #define AdHocFormatter(name, str) \ - using name = LiteralFormatter + using name = ::AdHoc::LiteralFormatter template inline auto scprintf(const Pn & ... pn) -- cgit v1.2.3