Skip to content

Commit 7420401

Browse files
committed
don't enable C++11 features in tinyformat
1 parent 59853fd commit 7420401

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2015-04-22 Kevin Ushey <[email protected]>
2+
3+
* inst/include/Rcpp/utils/tinyformat.h: don't use C++11 features
4+
15
2015-04-14 Dirk Eddelbuettel <[email protected]>
26

37
* .travis.yml (sudo): Adding 'sudo: required' to force older Travis backend

inst/include/Rcpp/utils/tinyformat.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,8 @@ namespace Rcpp {
128128
}
129129
#define TINYFORMAT_ERROR(REASON) ::Rcpp::stop(REASON)
130130

131-
// Define for C++11 variadic templates which make the code shorter & more
132-
// general. If you don't define this, C++11 support is autodetected below.
133-
// #define TINYFORMAT_USE_VARIADIC_TEMPLATES
134-
131+
// don't use C++11 features (support older compilers)
132+
#define TINYFORMAT_NO_VARIADIC_TEMPLATES
135133

136134
//------------------------------------------------------------------------------
137135
// Implementation details.

0 commit comments

Comments
 (0)