Use the locale in the case insensitive comparison, I really should add a test for this.

[SVN r41951]
This commit is contained in:
Daniel James
2007-12-10 11:08:02 +00:00
parent ff7f819f88
commit 24ab34fb3a

View File

@ -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_;