File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ namespace traits{
4343 inline const_iterator get_const () const { return start; }
4444
4545 inline proxy ref () { return *start ;}
46- inline proxy ref (int i) { return start[i] ; }
46+ inline proxy ref (R_xlen_t i) { return start[i] ; }
4747
4848 inline proxy ref () const { return *start ;}
49- inline proxy ref (int i) const { return start[i] ; }
49+ inline proxy ref (R_xlen_t i) const { return start[i] ; }
5050
5151 private:
5252 iterator start ;
@@ -70,10 +70,10 @@ namespace traits{
7070 inline const_iterator get_const () const { return get_vector_ptr (*p) ; }
7171
7272 inline proxy ref () { return proxy (*p,0 ) ; }
73- inline proxy ref (int i) { return proxy (*p,i);}
73+ inline proxy ref (R_xlen_t i) { return proxy (*p,i);}
7474
7575 inline const_proxy ref () const { return const_proxy (*p,0 ) ; }
76- inline const_proxy ref (int i) const { return const_proxy (*p,i);}
76+ inline const_proxy ref (R_xlen_t i) const { return const_proxy (*p,i);}
7777
7878 private:
7979 VECTOR* p ;
You can’t perform that action at this time.
0 commit comments