[Rcpp-commits] r2250 - pkg/Rcpp/inst/unitTests/testRcppModule/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 30 11:10:05 CEST 2010


Author: romain
Date: 2010-09-30 11:10:05 +0200 (Thu, 30 Sep 2010)
New Revision: 2250

Modified:
   pkg/Rcpp/inst/unitTests/testRcppModule/src/rcpp_module.cpp
Log:
advantures in windowsland, trying to declare the exception thrown

Modified: pkg/Rcpp/inst/unitTests/testRcppModule/src/rcpp_module.cpp
===================================================================
--- pkg/Rcpp/inst/unitTests/testRcppModule/src/rcpp_module.cpp	2010-09-30 06:28:52 UTC (rev 2249)
+++ pkg/Rcpp/inst/unitTests/testRcppModule/src/rcpp_module.cpp	2010-09-30 09:10:05 UTC (rev 2250)
@@ -1,6 +1,6 @@
 #include <Rcpp.h>
 
-std::string hello() {
+std::string hello() throw(std::range_error) {
 	throw std::range_error( "boom" ) ;
 }
 



More information about the Rcpp-commits mailing list