From 6419386c4c382753509425826ee609dd07d4ae72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 22:39:29 +0300 Subject: add const to other files. --- src/gui/buydialog.cpp | 2 +- src/gui/inventorywindow.cpp | 2 +- src/gui/widgets/setuptouchitem.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp index c370ecfd3..ce7c32ba2 100644 --- a/src/gui/buydialog.cpp +++ b/src/gui/buydialog.cpp @@ -50,7 +50,7 @@ #include "debug.h" -static const char *SORT_NAME_BUY[7] = +static const char *const SORT_NAME_BUY[7] = { // TRANSLATORS: buy dialog sort type. N_("unsorted"), diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 7a1645148..e497f5782 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -63,7 +63,7 @@ #include "debug.h" -static const char *SORT_NAME_INVENTORY[6] = +static const char *const SORT_NAME_INVENTORY[6] = { // TRANSLATORS: inventory sort mode N_("default"), diff --git a/src/gui/widgets/setuptouchitem.cpp b/src/gui/widgets/setuptouchitem.cpp index d8d6eda9a..b62e1e550 100644 --- a/src/gui/widgets/setuptouchitem.cpp +++ b/src/gui/widgets/setuptouchitem.cpp @@ -31,7 +31,7 @@ #include "debug.h" -static class SortTouchActionFunctor final +static const class SortTouchActionFunctor final { public: bool operator() (const SetupActionData *const data1, -- cgit v1.2.3-70-g09d2