From 2da50b78e5bb46cf3fe529dcabc9e14aa9bb1cf1 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 28 Jan 2017 20:35:58 +0100 Subject: [PATCH] return references to the vectors in message.h --- messages/message.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/messages/message.h b/messages/message.h index 3a017c8e9..993dc6ed0 100644 --- a/messages/message.h +++ b/messages/message.h @@ -54,13 +54,13 @@ public: return displayName; } - const std::vector + const std::vector & getWords() const { return words; } - const std::vector + const std::vector & getWordParts() const { return wordParts;