summaryrefslogtreecommitdiff
path: root/project2/common/checkHost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/checkHost.cpp')
-rw-r--r--project2/common/checkHost.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/common/checkHost.cpp b/project2/common/checkHost.cpp
index 4f2ab44..be7b572 100644
--- a/project2/common/checkHost.cpp
+++ b/project2/common/checkHost.cpp
@@ -6,7 +6,7 @@
CheckHost::CheckHost(ScriptReaderPtr s) :
CommonObjects(s)
{
- s->loader.addLoadTarget(s->root(), Storer::into<ElementLoader>(&parameterChecks));
+ s->loader.addLoadTarget(s->root(), Storer::into<ElementLoader>(&checks));
}
CheckHost::~CheckHost()
@@ -17,7 +17,7 @@ void
CheckHost::runChecks() const
{
loadScriptComponents();
- BOOST_FOREACH(const ParamCheckers::value_type & pc, parameterChecks) {
+ BOOST_FOREACH(const Checks::value_type & pc, checks) {
if (!pc->performCheck()) {
ApplicationEngine::getCurrent()->logMessage(false, pc->group(), pc->message());
throw CheckFailure(pc);
@@ -25,7 +25,7 @@ CheckHost::runChecks() const
}
}
-CheckHost::CheckFailure::CheckFailure(ParamCheckerCPtr fc) : failedCheck(fc)
+CheckHost::CheckFailure::CheckFailure(CheckCPtr fc) : failedCheck(fc)
{
}