diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-05-04 11:35:44 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-05-04 11:37:10 +0200 |
| commit | 9eaa0afa6ec5d3dd01e4d01121314ef51f2bc305 (patch) | |
| tree | ef4ad15780f343120feafb3a370974b8500f0f04 /src/tinyformat.h | |
| parent | Merge #7982: build: No need to check for leveldb atomics (diff) | |
| download | discoin-9eaa0afa6ec5d3dd01e4d01121314ef51f2bc305.tar.xz discoin-9eaa0afa6ec5d3dd01e4d01121314ef51f2bc305.zip | |
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.
Diffstat (limited to 'src/tinyformat.h')
| -rw-r--r-- | src/tinyformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tinyformat.h b/src/tinyformat.h index 73d49a1fe..c6ec0419b 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 //------------------------------------------------------------------------------ |