[Rcpp-commits] r852 - pkg/Rcpp/src/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Mar 7 14:46:41 CET 2010


Author: romain
Date: 2010-03-07 14:46:40 +0100 (Sun, 07 Mar 2010)
New Revision: 852

Modified:
   pkg/Rcpp/src/Rcpp/XPtr.h
Log:
try to make sunstudio happy

Modified: pkg/Rcpp/src/Rcpp/XPtr.h
===================================================================
--- pkg/Rcpp/src/Rcpp/XPtr.h	2010-03-07 13:32:29 UTC (rev 851)
+++ pkg/Rcpp/src/Rcpp/XPtr.h	2010-03-07 13:46:40 UTC (rev 852)
@@ -105,7 +105,7 @@
 
 template<typename T>
 void XPtr<T>::setDeleteFinalizer(){
-    R_RegisterCFinalizerEx( m_sexp, delete_finalizer<T> , FALSE) ; 
+    R_RegisterCFinalizerEx( m_sexp, static_cast<R_CFinalizer_t>( delete_finalizer<T> ) , FALSE) ; 
 }
 
 template<typename T>



More information about the Rcpp-commits mailing list