Skip to content

Commit ce5d157

Browse files
committed
Remove some old testing stuff + fix typedefs
1 parent 59bb4b1 commit ce5d157

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

inst/include/Rcpp/vector/ListOf.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ template <typename T>
2626
class ListOf {
2727

2828
public:
29-
static const int RTYPE = traits::r_sexptype_traits<T>::rtype;
30-
typedef typename traits::r_vector_iterator<RTYPE>::type iterator ;
31-
typedef typename traits::r_vector_const_iterator<RTYPE>::type const_iterator ;
29+
typedef typename traits::r_vector_iterator<VECSXP>::type iterator;
30+
typedef typename traits::r_vector_const_iterator<VECSXP>::type const_iterator;
3231

3332
ListOf(): list(R_NilValue) {};
3433

0 commit comments

Comments
 (0)