From 5bc402bb82b8cd958e138a0802b96c7532e4fb04 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 22:44:52 +0300 Subject: add restrict into ministatuswindow. --- src/gui/windows/ministatuswindow.cpp | 5 +++-- src/gui/windows/ministatuswindow.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 412b1b730..4d1a0ba82 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -160,8 +160,9 @@ ProgressBar *MiniStatusWindow::createBar(const float progress, const int width, const int height, const int textColor, const int backColor, - const std::string &name, - const std::string &description) + const std::string &restrict name, + const std::string &restrict + description) { ProgressBar *const bar = new ProgressBar(this, progress, width, height, backColor); diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index 2ec31ef25..f40518d9b 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -99,8 +99,9 @@ class MiniStatusWindow final : public Popup, ProgressBar *createBar(const float progress, const int width, const int height, const int textColor, const int backColor, - const std::string &name, - const std::string &description) A_WARN_UNUSED; + const std::string &restrict name, + const std::string &restrict description) + A_WARN_UNUSED; void loadBars(); -- cgit v1.2.3-70-g09d2