diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:55:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:55:28 +0000 |
commit | e81d9d49145e432d917eea3a70d2ae74dcad1d89 (patch) | |
tree | 9ed5e1a91f242e2cb5911577356e487a55c01b78 /source/Host/common/XML.cpp | |
parent | 85d8ef8f1f0e0e063a8571944302be2d2026f823 (diff) |
Notes
Diffstat (limited to 'source/Host/common/XML.cpp')
-rw-r--r-- | source/Host/common/XML.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/Host/common/XML.cpp b/source/Host/common/XML.cpp index 14e786ab8b16..dc9cb0bc5a33 100644 --- a/source/Host/common/XML.cpp +++ b/source/Host/common/XML.cpp @@ -329,7 +329,7 @@ XMLNode::ForEachSiblingElementWithName (const char *name, NodeCallback const &ca else { if (node->name) - continue; // nullptr name specified and this elemnt has a name, ignore this one + continue; // nullptr name specified and this element has a name, ignore this one } if (callback(XMLNode(node)) == false) @@ -592,7 +592,7 @@ ApplePropertyList::ExtractStringFromValueNode (const XMLNode &node, std::string if (element_name == "true" || element_name == "false") { // The text value _is_ the element name itself... - value = std::move(element_name.str()); + value = element_name.str(); return true; } else if (element_name == "dict" || element_name == "array") @@ -689,5 +689,3 @@ ApplePropertyList::GetStructuredData() #endif return root_sp; } - - |