[Rcpp-commits] r2392 - pkg/Rcpp/inst/include/Rcpp/module

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 4 17:41:46 CET 2010


Author: dmbates
Date: 2010-11-04 17:41:46 +0100 (Thu, 04 Nov 2010)
New Revision: 2392

Modified:
   pkg/Rcpp/inst/include/Rcpp/module/Module_generated_Constructor.h
Log:
Remove redundant return keywords.


Modified: pkg/Rcpp/inst/include/Rcpp/module/Module_generated_Constructor.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/module/Module_generated_Constructor.h	2010-11-04 12:06:47 UTC (rev 2391)
+++ pkg/Rcpp/inst/include/Rcpp/module/Module_generated_Constructor.h	2010-11-04 16:41:46 UTC (rev 2392)
@@ -32,13 +32,13 @@
 class Constructor_0 : public Constructor_Base<Class>{
 public:
     virtual Class* get_new( SEXP* args, int nargs ){
-        return return new Class ;
+	return new Class ;
     }
 } ;
 template <typename Class, typename U0>
 class Constructor_1 : public Constructor_Base<Class>{
     virtual Class* get_new( SEXP* args, int nargs ){
-        return return new Class( as<U0>(args[0]) ) ;
+        return new Class( as<U0>(args[0]) ) ;
     }
 } ;
 template <typename Class, typename U0, typename U1>



More information about the Rcpp-commits mailing list