mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-04 03:31:12 +02:00
Fix the return values of the case insensitive hash examples.
[SVN r41126]
This commit is contained in:
@@ -34,13 +34,13 @@ namespace hash_examples
|
||||
};
|
||||
|
||||
struct ihash
|
||||
: std::unary_function<std::string, bool>
|
||||
: std::unary_function<std::string, std::size_t>
|
||||
{
|
||||
ihash() {}
|
||||
explicit ihash(std::locale const& l) : locale_(l) {}
|
||||
|
||||
template <typename String>
|
||||
bool operator()(String const& x) const
|
||||
std::size_t operator()(String const& x) const
|
||||
{
|
||||
std::size_t seed = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user