Skip to content

Commit 0f45325

Browse files
committed
Revert a change
1 parent 1a15629 commit 0f45325

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inst/include/Rcpp/internal/export.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ namespace Rcpp{
109109
STORAGE* start = ::Rcpp::internal::r_vector_start<RTYPE>(y) ;
110110
R_xlen_t size = ::Rf_xlength(y) ;
111111
for( R_xlen_t i=0; i<size; i++){
112-
T ii{i};
113-
res[ii] = start[i] ;
112+
res[i] = start[i] ;
114113
}
115114
}
116115

0 commit comments

Comments
 (0)