[Rcpp-commits] r2350 - in pkg/Rcpp: . inst/include/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Oct 21 18:21:57 CEST 2010


Author: edd
Date: 2010-10-21 18:21:56 +0200 (Thu, 21 Oct 2010)
New Revision: 2350

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/include/Rcpp/Module.h
Log:
instantation order fix


Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2010-10-20 21:41:04 UTC (rev 2349)
+++ pkg/Rcpp/ChangeLog	2010-10-21 16:21:56 UTC (rev 2350)
@@ -1,3 +1,7 @@
+2010-10-21  Dirk Eddelbuettel  <edd at debian.org>
+
+	* inst/include/Rcpp/Module.h: Reorder instantiation for class_ 
+
 2010-10-20  Dirk Eddelbuettel  <edd at debian.org>
 
 	* include/Rcpp/XPtr.h: Applied patch by Karl Millar

Modified: pkg/Rcpp/inst/include/Rcpp/Module.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/Module.h	2010-10-20 21:41:04 UTC (rev 2349)
+++ pkg/Rcpp/inst/include/Rcpp/Module.h	2010-10-21 16:21:56 UTC (rev 2350)
@@ -229,7 +229,7 @@
 	typedef std::map<std::string,prop_class*> PROPERTY_MAP ;
 	typedef std::pair<const std::string,prop_class*> PROP_PAIR ;
 	
-	class_( const char* name_ ) : class_Base(name_), methods(), properties(), specials(0), finalizer_pointer(0) {
+	class_( const char* name_ ) : class_Base(name_), methods(), properties(), finalizer_pointer(0), specials(0) {
 		if( !singleton ){
 			singleton = new self ;
 			singleton->name = name_ ;



More information about the Rcpp-commits mailing list