Skip to content

Commit 685cb94

Browse files
-pedantic does not like that (R_xlen_t vs `size_t)
`data` is a `std::vector` anyway, so I don't see the point of using `R_xlen_t`.
1 parent cf02f45 commit 685cb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/Benchmark/Timer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ namespace Rcpp{
110110
}
111111

112112
operator SEXP() const {
113-
R_xlen_t n = data.size();
113+
size_t n = data.size();
114114
NumericVector out(n);
115115
CharacterVector names(n);
116116
for (size_t i=0; i<n; i++) {

0 commit comments

Comments
 (0)