summaryrefslogtreecommitdiff
path: root/tools/aapt2/xml/XmlActionExecutor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/xml/XmlActionExecutor.cpp')
-rw-r--r--tools/aapt2/xml/XmlActionExecutor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/aapt2/xml/XmlActionExecutor.cpp b/tools/aapt2/xml/XmlActionExecutor.cpp
index 0ef67eaf3dc5..745079c43c7c 100644
--- a/tools/aapt2/xml/XmlActionExecutor.cpp
+++ b/tools/aapt2/xml/XmlActionExecutor.cpp
@@ -57,8 +57,7 @@ bool XmlNodeAction::execute(XmlActionExecutorPolicy policy, SourcePathDiagnostic
for (Element* childEl : el->getChildElements()) {
if (childEl->namespaceUri.empty()) {
- std::map<std::u16string, XmlNodeAction>::const_iterator iter =
- mMap.find(childEl->name);
+ std::map<std::string, XmlNodeAction>::const_iterator iter = mMap.find(childEl->name);
if (iter != mMap.end()) {
error |= !iter->second.execute(policy, diag, childEl);
continue;
@@ -91,7 +90,7 @@ bool XmlActionExecutor::execute(XmlActionExecutorPolicy policy, IDiagnostics* di
}
if (el->namespaceUri.empty()) {
- std::map<std::u16string, XmlNodeAction>::const_iterator iter = mMap.find(el->name);
+ std::map<std::string, XmlNodeAction>::const_iterator iter = mMap.find(el->name);
if (iter != mMap.end()) {
return iter->second.execute(policy, &sourceDiag, el);
}