summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
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/shortcutwindow.cpp
parent1276fff7557b881f90559d8c872861a2b4f8015a (diff)
downloadplus-15285d0863273f8810aa7ef260873fee3b533547.tar.gz
plus-15285d0863273f8810aa7ef260873fee3b533547.tar.bz2
plus-15285d0863273f8810aa7ef260873fee3b533547.tar.xz
plus-15285d0863273f8810aa7ef260873fee3b533547.zip
add restrict into shortcutwindow.
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp10
1 files changed, 5 insertions, 5 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),