[Rcpp-commits] r2881 - pkg/Rcpp/inst/include/Rcpp
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jan 25 17:32:15 CET 2011
Author: dmbates
Date: 2011-01-25 17:32:15 +0100 (Tue, 25 Jan 2011)
New Revision: 2881
Modified:
pkg/Rcpp/inst/include/Rcpp/Date.h
Log:
Use predefined symbol
Modified: pkg/Rcpp/inst/include/Rcpp/Date.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/Date.h 2011-01-22 22:44:17 UTC (rev 2880)
+++ pkg/Rcpp/inst/include/Rcpp/Date.h 2011-01-25 16:32:15 UTC (rev 2881)
@@ -87,7 +87,7 @@
}
template<> inline SEXP wrap_extra_steps<Rcpp::Date>( SEXP x ){
- Rf_setAttrib( x, Rf_install("class"), Rf_mkString( "Date" ) ) ;
+ Rf_setAttrib( x, R_ClassSymbol, Rf_mkString( "Date" ) ) ;
return x ;
}
More information about the Rcpp-commits
mailing list