summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-01 21:51:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-01 21:54:54 +0300
commit7778c082e9b15774a1e79ab77cb60edb5c3a2949 (patch)
tree4eeeabda71cb5f2f330d52ee93c8922eef054d9e /src/gui/windows
parentf5e3f241af190e487c0499dae0efc12e9ae2d202 (diff)
downloadmanaverse-7778c082e9b15774a1e79ab77cb60edb5c3a2949.tar.gz
manaverse-7778c082e9b15774a1e79ab77cb60edb5c3a2949.tar.bz2
manaverse-7778c082e9b15774a1e79ab77cb60edb5c3a2949.tar.xz
manaverse-7778c082e9b15774a1e79ab77cb60edb5c3a2949.zip
Add some checks after automatic check code by tools.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/mailwindow.cpp2
-rw-r--r--src/gui/windows/mailwindow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp
index 254aa2f73..9da69fb0a 100644
--- a/src/gui/windows/mailwindow.cpp
+++ b/src/gui/windows/mailwindow.cpp
@@ -189,7 +189,7 @@ void MailWindow::clear()
mListBox->setSelected(-1);
}
-std::string MailWindow::getMailHeader(MailMessage *const message) const
+std::string MailWindow::getMailHeader(const MailMessage *const message) const
{
if (mUseMail2)
{
diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h
index 6a310fb37..c99236499 100644
--- a/src/gui/windows/mailwindow.h
+++ b/src/gui/windows/mailwindow.h
@@ -85,7 +85,7 @@ class MailWindow final : public Window,
private:
void refreshMails();
- std::string getMailHeader(MailMessage *const message) const
+ std::string getMailHeader(const MailMessage *const message) const
A_WARN_UNUSED A_NONNULL(2);
STD_VECTOR<MailMessage*> mMessages;