File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ 2024-09-29 Dirk Eddelbuettel <
[email protected] >
2+
3+ * inst/include/Rcpp/vector/Vector.h: Remove a cast as R_xlen_t
4+ is returned now
5+
162024-09-17 Dirk Eddelbuettel <
[email protected] >
27
38 * DESCRIPTION (Version, Date): Roll micro version
Original file line number Diff line number Diff line change 11// Vector.h: Rcpp R/C++ interface class library -- vectors
22//
3- // Copyright (C) 2010 - 2023 Dirk Eddelbuettel and Romain Francois
3+ // Copyright (C) 2010 - 2024 Dirk Eddelbuettel and Romain Francois
44//
55// This file is part of Rcpp.
66//
@@ -331,7 +331,7 @@ class Vector :
331331 }
332332
333333 inline iterator begin () { return cache.get () ; }
334- inline iterator end () { return cache.get () + static_cast < int >( size ()) ; }
334+ inline iterator end () { return cache.get () + size (); }
335335 inline const_iterator begin () const { return cache.get_const () ; }
336336 inline const_iterator end () const { return cache.get_const () + size () ; }
337337 inline const_iterator cbegin () const { return cache.get_const () ; }
You can’t perform that action at this time.
0 commit comments