[Rcpp-commits] r1085 - pkg/Rcpp/inst/include/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 19 22:03:14 CEST 2010


Author: romain
Date: 2010-04-19 22:03:14 +0200 (Mon, 19 Apr 2010)
New Revision: 1085

Modified:
   pkg/Rcpp/inst/include/Rcpp/preprocessor.h
Log:
split the generated preprocessor code from the rest

Modified: pkg/Rcpp/inst/include/Rcpp/preprocessor.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/preprocessor.h	2010-04-19 20:00:11 UTC (rev 1084)
+++ pkg/Rcpp/inst/include/Rcpp/preprocessor.h	2010-04-19 20:03:14 UTC (rev 1085)
@@ -30,7 +30,8 @@
 	public:
 		converter( ) : x(R_NilValue){} ;
 		converter( SEXP x_) : x(x_){} ;
-		converter( const converter& other){
+		converter( const converter& other) : x(other.x){}
+		operator=( const converter& other){
 			x = other.x ;
 			return *this ;
 		}



More information about the Rcpp-commits mailing list