summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 22:59:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 22:59:37 +0300
commit15285d0863273f8810aa7ef260873fee3b533547 (patch)
tree57c425e2db73064fbace6a13900df747c5d52a29 /src/gui/windows
parent1276fff7557b881f90559d8c872861a2b4f8015a (diff)
downloadmanaplus-15285d0863273f8810aa7ef260873fee3b533547.tar.gz
manaplus-15285d0863273f8810aa7ef260873fee3b533547.tar.bz2
manaplus-15285d0863273f8810aa7ef260873fee3b533547.tar.xz
manaplus-15285d0863273f8810aa7ef260873fee3b533547.zip
add restrict into shortcutwindow.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/shortcutwindow.cpp10
-rw-r--r--src/gui/windows/shortcutwindow.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index 1ae82a781..0bbd77401 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -51,9 +51,9 @@ class ShortcutTab final : public Tab
ShortcutContainer* mContent;
};
-ShortcutWindow::ShortcutWindow(const std::string &title,
- ShortcutContainer *const content,
- const std::string &skinFile,
+ShortcutWindow::ShortcutWindow(const std::string &restrict title,
+ ShortcutContainer *restrict const content,
+ const std::string &restrict skinFile,
int width, int height) :
Window("Window", false, nullptr, skinFile),
mItems(content),
@@ -107,8 +107,8 @@ ShortcutWindow::ShortcutWindow(const std::string &title,
enableVisibleSound(true);
}
-ShortcutWindow::ShortcutWindow(const std::string &title,
- const std::string &skinFile,
+ShortcutWindow::ShortcutWindow(const std::string &restrict title,
+ const std::string &restrict skinFile,
const int width, const int height) :
Window("Window", false, nullptr, skinFile),
mItems(nullptr),
diff --git a/src/gui/windows/shortcutwindow.h b/src/gui/windows/shortcutwindow.h
index 82968eaf2..f7fc01c9f 100644
--- a/src/gui/windows/shortcutwindow.h
+++ b/src/gui/windows/shortcutwindow.h
@@ -40,13 +40,13 @@ class ShortcutWindow final : public Window
/**
* Constructor.
*/
- ShortcutWindow(const std::string &title,
- ShortcutContainer *const content,
- const std::string &skinFile = "",
+ ShortcutWindow(const std::string &restrict title,
+ ShortcutContainer *restrict const content,
+ const std::string &restrict skinFile = "",
int width = 0, int height = 0);
- ShortcutWindow(const std::string &title,
- const std::string &skinFile = "",
+ ShortcutWindow(const std::string &restrict title,
+ const std::string &restrict skinFile = "",
const int width = 0, const int height = 0);
A_DELETE_COPY(ShortcutWindow)