Squash clang warnings about hashtables.h

This commit is contained in:
Jon Evans 2021-03-19 20:56:22 -04:00
parent f0e6f812ff
commit 4fbbdc31ba
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ struct WXSTRING_HASH : std::unary_function<wxString, std::size_t>
{ {
std::size_t hash = 2166136261u; std::size_t hash = 2166136261u;
for( const auto& c : aString ) for( const wxUniChar c : aString )
{ {
unsigned ch = static_cast<unsigned>( c ); unsigned ch = static_cast<unsigned>( c );
hash ^= ch; hash ^= ch;