Skip to content

Commit 3cab0e5

Browse files
committed
ListOf::size should return r_len_t
1 parent 292d019 commit 3cab0e5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2014-09-01 Kevin Ushey <[email protected]>
2+
3+
* inst/include/Rcpp/vector/ListOf.h: `size()` member function should
4+
return `R_len_t` rather than `int`
5+
16
2014-08-30 Dirk Eddelbuettel <[email protected]>
27

38
* inst/include/Rcpp/vector/Vector.h: Mark two 'from string' ctors as

inst/include/Rcpp/vector/ListOf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class ListOf {
9191
return list.end();
9292
}
9393

94-
inline int size() const {
94+
inline R_len_t size() const {
9595
return list.size() ;
9696
}
9797

0 commit comments

Comments
 (0)