summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-27 21:47:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-27 21:47:11 +0300
commit610b13d188cd3faf99b971eea58594b336a57edd (patch)
treea63c21502fb067dba90cfc31343de6b90032487c /src/gui/widgets
parent8b5ea7b5dadf697086b35b386f79d7b69d5e9215 (diff)
downloadplus-610b13d188cd3faf99b971eea58594b336a57edd.tar.gz
plus-610b13d188cd3faf99b971eea58594b336a57edd.tar.bz2
plus-610b13d188cd3faf99b971eea58594b336a57edd.tar.xz
plus-610b13d188cd3faf99b971eea58594b336a57edd.zip
Add checks for new issues from paranucker.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/serverslistbox.h2
-rw-r--r--src/gui/widgets/skilllistbox.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/serverslistbox.h b/src/gui/widgets/serverslistbox.h
index e15bebb41..6b03513dd 100644
--- a/src/gui/widgets/serverslistbox.h
+++ b/src/gui/widgets/serverslistbox.h
@@ -140,7 +140,7 @@ class ServersListBox final : public ListBox
}
}
- void safeDraw(Graphics *graphics) override final
+ void safeDraw(Graphics *graphics) override final A_NONNULL(2)
{
ServersListBox::draw(graphics);
}
diff --git a/src/gui/widgets/skilllistbox.h b/src/gui/widgets/skilllistbox.h
index a27c57147..b8aa3f3c5 100644
--- a/src/gui/widgets/skilllistbox.h
+++ b/src/gui/widgets/skilllistbox.h
@@ -174,7 +174,7 @@ class SkillListBox final : public ListBox
}
}
- void safeDraw(Graphics *graphics) override final
+ void safeDraw(Graphics *graphics) override final A_NONNULL(2)
{
SkillListBox::draw(graphics);
}