summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/mailwindow.h')
-rw-r--r--src/gui/windows/mailwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h
index b356b0666..7c808379d 100644
--- a/src/gui/windows/mailwindow.h
+++ b/src/gui/windows/mailwindow.h
@@ -75,7 +75,8 @@ class MailWindow final : public Window,
private:
void refreshMails();
- std::string getMailHeader(MailMessage *const message) A_NONNULL(2);
+ std::string getMailHeader(MailMessage *const message) const
+ A_WARN_UNUSED A_NONNULL(2);
STD_VECTOR<MailMessage*> mMessages;
std::map<int, MailMessage*> mMessagesMap;