[Rcpp-commits] r278 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jan 5 13:06:12 CET 2010


Author: romain
Date: 2010-01-05 13:06:11 +0100 (Tue, 05 Jan 2010)
New Revision: 278

Modified:
   pkg/src/Pairlist.cpp
Log:
not use variadic template constructs inside the code so that it compiles on GCC < 4.3

Modified: pkg/src/Pairlist.cpp
===================================================================
--- pkg/src/Pairlist.cpp	2010-01-05 12:05:31 UTC (rev 277)
+++ pkg/src/Pairlist.cpp	2010-01-05 12:06:11 UTC (rev 278)
@@ -36,7 +36,7 @@
 					break ;
 				default:
 					{
-						Evaluator evaluator( Language("as.pairlist", x ) ) ;
+						Evaluator evaluator( Rf_lang2( Rf_install("as.pairlist"), x ) ) ;
 						evaluator.run() ;
 						if( evaluator.successfull() ){
     							setSEXP( evaluator.getResult().asSexp() ) ;



More information about the Rcpp-commits mailing list