summaryrefslogtreecommitdiff
path: root/project2/regexCheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/regexCheck.cpp')
-rw-r--r--project2/regexCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/regexCheck.cpp b/project2/regexCheck.cpp
index edd2c38..5921a06 100644
--- a/project2/regexCheck.cpp
+++ b/project2/regexCheck.cpp
@@ -9,7 +9,7 @@ ElementLoaderImpl<RegexCheck> regexCheckLoader("regexcheck");
RegexCheck::RegexCheck(const xmlpp::Element * p) :
SourceObject(p),
ParamChecker(p),
- applyTo(p->get_attribute("apply-to")),
+ applyTo(p, "apply-to"),
regex(xmlChildText(p, "regex").raw())
{
}