[Rcpp-commits] r4051 - pkg/Rcpp/inst/include/Rcpp/vector
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Nov 29 16:32:16 CET 2012
Author: romain
Date: 2012-11-29 16:32:15 +0100 (Thu, 29 Nov 2012)
New Revision: 4051
Modified:
pkg/Rcpp/inst/include/Rcpp/vector/Matrix.h
Log:
const correctness issue again
Modified: pkg/Rcpp/inst/include/Rcpp/vector/Matrix.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/vector/Matrix.h 2012-11-29 13:32:12 UTC (rev 4050)
+++ pkg/Rcpp/inst/include/Rcpp/vector/Matrix.h 2012-11-29 15:32:15 UTC (rev 4051)
@@ -121,7 +121,7 @@
return static_cast< Vector<RTYPE>* >( this )->operator[]( i ) ;
}
- inline Proxy operator[]( int i ) const {
+ inline const_Proxy operator[]( int i ) const {
return static_cast< const Vector<RTYPE>* >( this )->operator[]( i ) ;
}
More information about the Rcpp-commits
mailing list