diff options
Diffstat (limited to 'project2/common/checkHost.cpp')
-rw-r--r-- | project2/common/checkHost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/common/checkHost.cpp b/project2/common/checkHost.cpp index eb2bae7..8784ad9 100644 --- a/project2/common/checkHost.cpp +++ b/project2/common/checkHost.cpp @@ -5,7 +5,7 @@ CheckHost::CheckHost(ScriptNodePtr s) : CommonObjects(s) { - s->script->loader.addLoadTarget(s, Storer::into<CheckFactory>(&checks)); + s->script.lock()->loader.addLoadTarget(s, Storer::into<CheckFactory>(&checks)); } CheckHost::~CheckHost() |