summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-09-01 09:35:32 +0000
committerrandomdan <randomdan@localhost>2011-09-01 09:35:32 +0000
commit2922061c2fa3cf12cd8b550989074fde5d70cf47 (patch)
tree37f1cc7883810ece967e08265049bf3a198da882
parentFix missing include (diff)
downloadproject2-2922061c2fa3cf12cd8b550989074fde5d70cf47.tar.bz2
project2-2922061c2fa3cf12cd8b550989074fde5d70cf47.tar.xz
project2-2922061c2fa3cf12cd8b550989074fde5d70cf47.zip
Be explicit about scope of 'any'
-rw-r--r--project2/common/if.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}