summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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)