summaryrefslogtreecommitdiff
path: root/src/domhelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/domhelpers.cpp')
-rw-r--r--src/domhelpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/domhelpers.cpp b/src/domhelpers.cpp
index 9a9cfd2..d2b3b8b 100644
--- a/src/domhelpers.cpp
+++ b/src/domhelpers.cpp
@@ -221,7 +221,7 @@ void ElementTable::load(const DOM::Node& parent, const string& name)
if(DOMHelpers::isElement(child, name))
{
DOM::Element& el = (DOM::Element&)child;
- wstring id = el.getAttribute(kAtId);
+ string id = el.getAttribute(kAtId);
if(!id.empty())
insert(make_pair(id, el));
@@ -231,7 +231,7 @@ void ElementTable::load(const DOM::Node& parent, const string& name)
}
}
-DOM::Element ElementTable::get(const wstring& id) const
+DOM::Element ElementTable::get(const string& id) const
{
const_iterator it = find(id);
return it == end() ? DOM::Element() : it->second;