From 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:35 +0300 Subject: Add missing const in gui directory. --- src/gui/windows/chatwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/chatwindow.cpp') diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 5be54a6f9..d5c2677ac 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -2087,7 +2087,7 @@ void ChatWindow::mouseExited(MouseEvent& event) Window::mouseExited(event); } -void ChatWindow::draw(Graphics* graphics) +void ChatWindow::draw(Graphics *const graphics) { BLOCK_START("ChatWindow::draw") if (!mAutoHide || mHaveMouse) @@ -2099,7 +2099,7 @@ void ChatWindow::draw(Graphics* graphics) BLOCK_END("ChatWindow::draw") } -void ChatWindow::safeDraw(Graphics* graphics) +void ChatWindow::safeDraw(Graphics *const graphics) { BLOCK_START("ChatWindow::draw") if (!mAutoHide || mHaveMouse) -- cgit v1.2.3-70-g09d2