Skip to content

Commit

Permalink
tinyformat: force USE_VARIADIC_TEMPLATES
Browse files Browse the repository at this point in the history
Now that we started using c++11, force use of variadic templates.

The autodetection may be wonky on some compilers, see discussion
[here](bitcoin/bitcoin#7982 (comment))
and is unnecessary for us anyhow.
  • Loading branch information
laanwj authored and dagurval committed Apr 23, 2017
1 parent 46f89f6 commit 4473e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tinyformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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


//------------------------------------------------------------------------------
Expand Down

0 comments on commit 4473e43

Please sign in to comment.