summaryrefslogtreecommitdiff
path: root/project2/common/library.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/library.cpp')
-rw-r--r--project2/common/library.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/common/library.cpp b/project2/common/library.cpp
index 103cb4e..476df56 100644
--- a/project2/common/library.cpp
+++ b/project2/common/library.cpp
@@ -9,7 +9,7 @@ SimpleMessageException(UnloadLibraryFailed);
Library::Library(const xmlpp::Element * p) :
SourceObject(p),
- handle(dlopen(p->get_attribute_value("path").c_str(), RTLD_NOW))
+ handle(dlopen(Variable(p, "path")(), RTLD_NOW))
{
if (!handle) {
throw LoadLibraryFailed(dlerror());