From a40422fada223eb03ef21b159ed401fb52b87709 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 29 Apr 2011 11:03:29 +0000 Subject: [PATCH] Unordered: remove use of the 'or' keyword. [SVN r71602] --- include/boost/unordered/detail/equivalent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/equivalent.hpp b/include/boost/unordered/detail/equivalent.hpp index 018ee80d..e650bf7d 100644 --- a/include/boost/unordered/detail/equivalent.hpp +++ b/include/boost/unordered/detail/equivalent.hpp @@ -99,7 +99,7 @@ namespace boost { namespace unordered { namespace detail { value_type const& v = node::get_value(n1); if (find(start, n1, v)) continue; std::size_t matches = count_equal(n2, end2, v); - if (!matches or matches != 1 + count_equal(n1->next_, end1, v)) + if (!matches || matches != 1 + count_equal(n1->next_, end1, v)) return false; }