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
@@ -45,7 +45,7 @@ public:
void setType(NodeType type);
bool isType(NodeTypeMask mask) const;
const std::string& getName() const;
std::string getName() const;
std::string getFullName() const;
const std::vector<Edge*>& getEdges() const;