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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/common/checkHost.cpp b/project2/common/checkHost.cpp
index be7b572..49533a9 100644
--- a/project2/common/checkHost.cpp
+++ b/project2/common/checkHost.cpp
@@ -3,10 +3,10 @@
#include "appEngine.h"
#include <boost/foreach.hpp>
-CheckHost::CheckHost(ScriptReaderPtr s) :
+CheckHost::CheckHost(ScriptNodePtr s) :
CommonObjects(s)
{
- s->loader.addLoadTarget(s->root(), Storer::into<ElementLoader>(&checks));
+ s->script->loader.addLoadTarget(s, Storer::into<ElementLoader>(&checks));
}
CheckHost::~CheckHost()