From f20ba9426597c96ab3e254ac99a820fb1977419b Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 1 Sep 2011 09:35:32 +0000 Subject: Be explicit about scope of 'any' --- project2/common/if.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project2/common/if.cpp b/project2/common/if.cpp index 677cd63..c65315e 100644 --- a/project2/common/if.cpp +++ b/project2/common/if.cpp @@ -36,7 +36,7 @@ IfSet::passes() const return all(checks, boost::bind(&ParamChecker::performCheck, _1)); } else if (mode == Or) { - return any(checks, boost::bind(&ParamChecker::performCheck, _1)); + return ::any(checks, boost::bind(&ParamChecker::performCheck, _1)); } throw IfModeIsNonsense(getName()); } -- cgit v1.2.3