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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Mar 19 17:04:19 CET 2010


Author: romain
Date: 2010-03-19 17:04:18 +0100 (Fri, 19 Mar 2010)
New Revision: 920

Modified:
   pkg/Rcpp/src/Rcpp/Named.h
Log:
Named( string) needs not to be a template

Modified: pkg/Rcpp/src/Rcpp/Named.h
===================================================================
--- pkg/Rcpp/src/Rcpp/Named.h	2010-03-19 15:57:10 UTC (rev 919)
+++ pkg/Rcpp/src/Rcpp/Named.h	2010-03-19 16:04:18 UTC (rev 920)
@@ -43,9 +43,7 @@
 	std::string name ;	
 } ;
 
-
-template <typename T>
-Argument Named( const std::string& name){
+inline Argument Named( const std::string& name){
 	return Argument( name );	
 }
 template <typename T>



More information about the Rcpp-commits mailing list