[Rcpp-commits] r1732 - pkg/Rcpp/inst/include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Jun 25 16:49:20 CEST 2010
Author: romain
Date: 2010-06-25 16:49:20 +0200 (Fri, 25 Jun 2010)
New Revision: 1732
Modified:
pkg/Rcpp/inst/include/RcppVector.h
Log:
minor convenience
Modified: pkg/Rcpp/inst/include/RcppVector.h
===================================================================
--- pkg/Rcpp/inst/include/RcppVector.h 2010-06-25 14:48:52 UTC (rev 1731)
+++ pkg/Rcpp/inst/include/RcppVector.h 2010-06-25 14:49:20 UTC (rev 1732)
@@ -105,7 +105,7 @@
template <typename T>
std::vector<T> RcppVector<T>::stlVector() const {
- return std::vector<T> tmp( v, v + len );
+ return std::vector<T>( v, v + len );
}
#endif
More information about the Rcpp-commits
mailing list