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
commitf20ba9426597c96ab3e254ac99a820fb1977419b (patch)
tree37f1cc7883810ece967e08265049bf3a198da882
parentFix missing include (diff)
downloadproject2-f20ba9426597c96ab3e254ac99a820fb1977419b.tar.bz2
project2-f20ba9426597c96ab3e254ac99a820fb1977419b.tar.xz
project2-f20ba9426597c96ab3e254ac99a820fb1977419b.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());
}