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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 24 10:08:38 CEST 2013


Author: romain
Date: 2013-07-24 10:08:38 +0200 (Wed, 24 Jul 2013)
New Revision: 4402

Modified:
   pkg/Rcpp/inst/include/Rcpp/as.h
Log:
format

Modified: pkg/Rcpp/inst/include/Rcpp/as.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/as.h	2013-07-23 20:57:08 UTC (rev 4401)
+++ pkg/Rcpp/inst/include/Rcpp/as.h	2013-07-24 08:08:38 UTC (rev 4402)
@@ -105,8 +105,7 @@
         }
         
         /** handling T such that T is a reference of a class handled by a module */
-        template <typename T> 
-        T as(SEXP x, ::Rcpp::traits::r_type_module_object_reference_tag ){
+        template <typename T> T as(SEXP x, ::Rcpp::traits::r_type_module_object_reference_tag ){
             typedef typename traits::remove_reference<T>::type KLASS ;
             KLASS* obj = as_module_object<KLASS>(x) ;
             return *obj ;



More information about the Rcpp-commits mailing list