diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-06 11:30:10 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-06 16:27:06 +0100 |
commit | 59cbcff8fd22f7c70d04cbf0daee2844b57d969c (patch) | |
tree | 48e9ce7b05ddb7eebaf5b4fffa42aac90781875f | |
parent | C++17 (diff) | |
download | libadhocutil-59cbcff8fd22f7c70d04cbf0daee2844b57d969c.tar.bz2 libadhocutil-59cbcff8fd22f7c70d04cbf0daee2844b57d969c.tar.xz libadhocutil-59cbcff8fd22f7c70d04cbf0daee2844b57d969c.zip |
C++17
Remove all boost things now in the standard library from CTF.
-rw-r--r-- | libadhocutil/compileTimeFormatter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h index 4f980d2..53116d0 100644 --- a/libadhocutil/compileTimeFormatter.h +++ b/libadhocutil/compileTimeFormatter.h @@ -1,6 +1,5 @@ #include <sstream> #include <string.h> -#include <boost/static_assert.hpp> #include <boost/preprocessor/variadic/size.hpp> namespace AdHoc { @@ -81,7 +80,7 @@ namespace AdHoc { template<typename ... Pn> static void write(stream &, const Pn & ...) { - BOOST_STATIC_ASSERT_MSG(!&err, "invalid format string/arguments"); + static_assert(!&err, "invalid format string/arguments"); } static int err; }; |