File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1+ 2021-04-09 Dirk Eddelbuettel <
[email protected] >
2+
3+ * inst/include/Rcpp/hash/IndexHash.h: Silence one comparison
4+
152021-03-22 Dirk Eddelbuettel <
[email protected] >
26
37 * DESCRIPTION (Version, Date): Roll minor version
Original file line number Diff line number Diff line change 33// IndexHash.h: Rcpp R/C++ interface class library -- hashing utility, inspired
44// from Simon's fastmatch package
55//
6- // Copyright (C) 2010, 2011 Simon Urbanek
7- // Copyright (C) 2012 Dirk Eddelbuettel and Romain Francois
8- // Copyright (C) 2014 Dirk Eddelbuettel, Romain Francois and Kevin Ushey
6+ // Copyright (C) 2010, 2011 Simon Urbanek
7+ // Copyright (C) 2012 - 2013 Dirk Eddelbuettel and Romain Francois
8+ // Copyright (C) 2014 - 2021 Dirk Eddelbuettel, Romain Francois and Kevin Ushey
99//
1010// This file is part of Rcpp.
1111//
@@ -100,7 +100,7 @@ namespace Rcpp{
100100 }
101101
102102 inline bool contains (STORAGE val) const {
103- return get_index (val) != NA_INTEGER ;
103+ return get_index (val) != static_cast < unsigned int >(NA_INTEGER) ;
104104 }
105105
106106 inline int size () const {
@@ -238,4 +238,3 @@ namespace Rcpp{
238238} // Rcpp
239239
240240#endif
241-
You can’t perform that action at this time.
0 commit comments