return references to the vectors in message.h
This commit is contained in:
+2
-2
@@ -54,13 +54,13 @@ public:
|
||||
return displayName;
|
||||
}
|
||||
|
||||
const std::vector<Word>
|
||||
const std::vector<Word> &
|
||||
getWords() const
|
||||
{
|
||||
return words;
|
||||
}
|
||||
|
||||
const std::vector<WordPart>
|
||||
const std::vector<WordPart> &
|
||||
getWordParts() const
|
||||
{
|
||||
return wordParts;
|
||||
|
||||
Reference in New Issue
Block a user