From 15285d0863273f8810aa7ef260873fee3b533547 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 22:59:37 +0300 Subject: add restrict into shortcutwindow. --- src/gui/windows/shortcutwindow.cpp | 10 +++++----- src/gui/windows/shortcutwindow.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/gui') 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) -- cgit v1.2.3-60-g2f50