summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-06 11:30:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-06 16:27:06 +0100
commit59cbcff8fd22f7c70d04cbf0daee2844b57d969c (patch)
tree48e9ce7b05ddb7eebaf5b4fffa42aac90781875f
parentC++17 (diff)
downloadlibadhocutil-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.h3
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;
};