[Rcpp-commits] r886 - pkg/Rcpp/src/Rcpp
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Mar 12 22:09:51 CET 2010
Author: romain
Date: 2010-03-12 22:09:51 +0100 (Fri, 12 Mar 2010)
New Revision: 886
Modified:
pkg/Rcpp/src/Rcpp/XPtr.h
Log:
remove the static_cast which does not make suncc happier
Modified: pkg/Rcpp/src/Rcpp/XPtr.h
===================================================================
--- pkg/Rcpp/src/Rcpp/XPtr.h 2010-03-12 20:50:23 UTC (rev 885)
+++ pkg/Rcpp/src/Rcpp/XPtr.h 2010-03-12 21:09:51 UTC (rev 886)
@@ -105,7 +105,7 @@
template<typename T>
void XPtr<T>::setDeleteFinalizer(){
- R_RegisterCFinalizerEx( m_sexp, static_cast<R_CFinalizer_t>( delete_finalizer<T> ) , FALSE) ;
+ R_RegisterCFinalizerEx( m_sexp, delete_finalizer<T> , FALSE) ;
}
template<typename T>
More information about the Rcpp-commits
mailing list