mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 19:37:14 +02:00
Use the locale in the case insensitive comparison, I really should add a test for this.
[SVN r41951]
This commit is contained in:
@ -27,7 +27,7 @@ namespace hash_examples
|
||||
template <typename String1, typename String2>
|
||||
bool operator()(String1 const& x1, String2 const& x2) const
|
||||
{
|
||||
return boost::algorithm::iequals(x1, x2);
|
||||
return boost::algorithm::iequals(x1, x2, locale_);
|
||||
}
|
||||
private:
|
||||
std::locale locale_;
|
||||
|
Reference in New Issue
Block a user