diff options
Diffstat (limited to 'src/chat-server/post.cpp')
-rw-r--r-- | src/chat-server/post.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chat-server/post.cpp b/src/chat-server/post.cpp index aca1de65..cfd9506b 100644 --- a/src/chat-server/post.cpp +++ b/src/chat-server/post.cpp @@ -52,7 +52,7 @@ void Letter::addText(const std::string &text) mContents = text; } -std::string Letter::getContents() const +const std::string &Letter::getContents() const { return mContents; } @@ -80,7 +80,7 @@ CharacterData *Letter::getSender() const return mSender; } -std::vector<InventoryItem> Letter::getAttachments() const +const std::vector<InventoryItem> &Letter::getAttachments() const { return mAttachments; } |