diff --git a/common/Message.hpp b/common/Message.hpp index cd087caac..88aa70f98 100644 --- a/common/Message.hpp +++ b/common/Message.hpp @@ -75,7 +75,7 @@ public: bool firstTokenMatches(const std::string& target) const { return _tokens[0] == target; } std::string operator[](size_t index) const { return _tokens[index]; } - std::string firstLine() + const std::string& firstLine() { if (_firstLine.empty()) {