From 24ab34fb3a6e55b5f335c74c134186113f1faa75 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 10 Dec 2007 11:08:02 +0000 Subject: [PATCH] Use the locale in the case insensitive comparison, I really should add a test for this. [SVN r41951] --- examples/case_insensitive.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/case_insensitive.hpp b/examples/case_insensitive.hpp index fba5b941..8cd00224 100644 --- a/examples/case_insensitive.hpp +++ b/examples/case_insensitive.hpp @@ -27,7 +27,7 @@ namespace hash_examples template 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_;