Skip to content

Commit 0618420

Browse files
obvious fix for #209. not so obvious to deal with the consequences
1 parent 2bbc244 commit 0618420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/vector/proxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ namespace traits {
240240
};
241241
template <int RTYPE>
242242
struct r_vector_const_iterator {
243-
typedef typename storage_type<RTYPE>::type* type ;
243+
typedef const typename storage_type<RTYPE>::type* type ;
244244
};
245245

246246
template <int RTYPE> struct proxy_based_iterator{

0 commit comments

Comments
 (0)