[Rcpp-commits] r1502 - pkg/Rcpp/inst/unitTests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 9 10:15:22 CEST 2010


Author: romain
Date: 2010-06-09 10:15:22 +0200 (Wed, 09 Jun 2010)
New Revision: 1502

Modified:
   pkg/Rcpp/inst/unitTests/runit.Module.R
Log:
one less name clash warning

Modified: pkg/Rcpp/inst/unitTests/runit.Module.R
===================================================================
--- pkg/Rcpp/inst/unitTests/runit.Module.R	2010-06-09 08:13:41 UTC (rev 1501)
+++ pkg/Rcpp/inst/unitTests/runit.Module.R	2010-06-09 08:15:22 UTC (rev 1502)
@@ -50,7 +50,7 @@
 	class World {
 	public:
 	    World() : msg("hello"){}
-	    void set(std::string msg) { this->msg = msg; }
+	    void set(std::string msg_) { this->msg = msg_; }
 	    std::string greet() { return msg; }
 	
 	private:



More information about the Rcpp-commits mailing list