return references to the vectors in message.h
This commit is contained in:
+2
-2
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user