Browse Source

Quiet a warning

jobs
Jon Evans 1 year ago
parent
commit
c66f862a39
  1. 7
      include/base_set.h

7
include/base_set.h

@ -336,11 +336,12 @@ struct hash<BASE_SET>
{
size_t operator()( const BASE_SET& bs ) const
{
size_t hash = 0;
size_t hashVal = 0;
for( const auto& bit : bs )
hash = hash * 31 + std::hash<int>()( bit );
hashVal = hashVal * 31 + std::hash<int>()( bit );
return hash;
return hashVal;
}
};
} // namespace std

Loading…
Cancel
Save