aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-05-04 11:35:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-05-04 11:37:10 +0200
commit9eaa0afa6ec5d3dd01e4d01121314ef51f2bc305 (patch)
treeef4ad15780f343120feafb3a370974b8500f0f04
parent559fbae8c658c779a423201df6d5850fce3cd3b1 (diff)
tinyformat: force USE_VARIADIC_TEMPLATES
Now that we started using c++11, force use of variadic templates. The autodetection may be wonky on some compilers, see discussion [here](https://github.com/bitcoin/bitcoin/pull/7982#issuecomment-216222357) and is unnecessary for us anyhow.
-rw-r--r--src/tinyformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tinyformat.h b/src/tinyformat.h
index 73d49a1fe4..c6ec0419b3 100644
--- a/src/tinyformat.h
+++ b/src/tinyformat.h
@@ -113,7 +113,7 @@ namespace tfm = tinyformat;
// Define for C++11 variadic templates which make the code shorter & more
// general. If you don't define this, C++11 support is autodetected below.
-// #define TINYFORMAT_USE_VARIADIC_TEMPLATES
+#define TINYFORMAT_USE_VARIADIC_TEMPLATES
//------------------------------------------------------------------------------