From c3ed7ea0a8c1d661bb2b31f5458b8357eab650a3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Oct 2013 12:06:28 +0300 Subject: fix const in declaration in statuswindow. --- src/gui/windows/statuswindow.cpp | 2 +- src/gui/windows/statuswindow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 80a65b1fd..0915429f9 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -126,7 +126,7 @@ class ChangeDisplay final : public AttrDisplay, gcn::ActionListener Type getType() const override { return CHANGEABLE; } - void setPointsNeeded(int needed); + void setPointsNeeded(const int needed); void action(const gcn::ActionEvent &event) override; diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h index 5acccd9ff..8748e3feb 100644 --- a/src/gui/windows/statuswindow.h +++ b/src/gui/windows/statuswindow.h @@ -67,7 +67,7 @@ class StatusWindow final : public Window, static void updateHPBar(ProgressBar *const bar, const bool showMax = false); - static void updateMPBar(ProgressBar *bar, bool showMax = false); + static void updateMPBar(ProgressBar *bar, const bool showMax = false); static void updateJobBar(ProgressBar *const bar, const bool percent = true); static void updateXPBar(ProgressBar *const bar, -- cgit v1.2.3-70-g09d2