return references to the vectors in message.h

This commit is contained in:
Rasmus Karlsson 2017-01-28 20:35:58 +01:00
parent fbb6868b70
commit 2da50b78e5

View file

@ -54,13 +54,13 @@ public:
return displayName; return displayName;
} }
const std::vector<Word> const std::vector<Word> &
getWords() const getWords() const
{ {
return words; return words;
} }
const std::vector<WordPart> const std::vector<WordPart> &
getWordParts() const getWordParts() const
{ {
return wordParts; return wordParts;