summaryrefslogtreecommitdiff
path: root/project2/checkHost.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-07-18 18:46:18 +0000
committerrandomdan <randomdan@localhost>2011-07-18 18:46:18 +0000
commitaae258de99b99e43bba18e0448e472340df872e6 (patch)
tree2713d8909eb14f0dd28b830454e9b501f678b819 /project2/checkHost.cpp
parentAutomatically sort the order of the MailParts to make life carefree and fix t... (diff)
downloadproject2-aae258de99b99e43bba18e0448e472340df872e6.tar.bz2
project2-aae258de99b99e43bba18e0448e472340df872e6.tar.xz
project2-aae258de99b99e43bba18e0448e472340df872e6.zip
Allow references to scripts deep in the tree
Diffstat (limited to 'project2/checkHost.cpp')
-rw-r--r--project2/checkHost.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/project2/checkHost.cpp b/project2/checkHost.cpp
index cda07fc..a39c176 100644
--- a/project2/checkHost.cpp
+++ b/project2/checkHost.cpp
@@ -2,13 +2,7 @@
#include "appEngine.h"
#include <boost/foreach.hpp>
-CheckHost::CheckHost(const std::string & group, const std::string & name) :
- XmlScriptParser(group, name, false)
-{
- loader.supportedStorers.insert(Storer::into(&parameterChecks));
-}
-
-CheckHost::CheckHost(const std::string & file) :
+CheckHost::CheckHost(const boost::filesystem::path & file) :
XmlScriptParser(file, false)
{
loader.supportedStorers.insert(Storer::into(&parameterChecks));