data: windows crash fix

* fixed a crash on windows that occurred when the name of a token was stored in a container that was destroyed after a const & was returned.
This commit is contained in:
malte_langkabel
2014-10-06 11:18:27 +02:00
parent a294519cd1
commit 0f34f55844
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ bool Node::isType(NodeTypeMask mask) const
return (m_type & mask) > 0;
}
const std::string& Node::getName() const
std::string Node::getName() const
{
return m_nameComponent->getName();
}