diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 22:59:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 22:59:37 +0300 |
commit | 15285d0863273f8810aa7ef260873fee3b533547 (patch) | |
tree | 57c425e2db73064fbace6a13900df747c5d52a29 /src | |
parent | 1276fff7557b881f90559d8c872861a2b4f8015a (diff) | |
download | manaverse-15285d0863273f8810aa7ef260873fee3b533547.tar.gz manaverse-15285d0863273f8810aa7ef260873fee3b533547.tar.bz2 manaverse-15285d0863273f8810aa7ef260873fee3b533547.tar.xz manaverse-15285d0863273f8810aa7ef260873fee3b533547.zip |
add restrict into shortcutwindow.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/shortcutwindow.cpp | 10 | ||||
-rw-r--r-- | src/gui/windows/shortcutwindow.h | 10 |
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) |