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
+
1
5
2021-03-22 Dirk Eddelbuettel <
[email protected] >
2
6
3
7
* DESCRIPTION (Version, Date): Roll minor version
Original file line number Diff line number Diff line change 3
3
// IndexHash.h: Rcpp R/C++ interface class library -- hashing utility, inspired
4
4
// from Simon's fastmatch package
5
5
//
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
9
9
//
10
10
// This file is part of Rcpp.
11
11
//
@@ -100,7 +100,7 @@ namespace Rcpp{
100
100
}
101
101
102
102
inline bool contains (STORAGE val) const {
103
- return get_index (val) != NA_INTEGER ;
103
+ return get_index (val) != static_cast < unsigned int >(NA_INTEGER) ;
104
104
}
105
105
106
106
inline int size () const {
@@ -238,4 +238,3 @@ namespace Rcpp{
238
238
} // Rcpp
239
239
240
240
#endif
241
-
You can’t perform that action at this time.
0 commit comments