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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user