summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 22:44:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 22:44:52 +0300
commit5bc402bb82b8cd958e138a0802b96c7532e4fb04 (patch)
tree1aac12191ae4fee130b7c517ec8336425b8c8b21 /src/gui
parentf09d8c8fd0d4f422ac50fe3c91eabcb0848bb118 (diff)
downloadplus-5bc402bb82b8cd958e138a0802b96c7532e4fb04.tar.gz
plus-5bc402bb82b8cd958e138a0802b96c7532e4fb04.tar.bz2
plus-5bc402bb82b8cd958e138a0802b96c7532e4fb04.tar.xz
plus-5bc402bb82b8cd958e138a0802b96c7532e4fb04.zip
add restrict into ministatuswindow.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/ministatuswindow.cpp5
-rw-r--r--src/gui/windows/ministatuswindow.h5
2 files changed, 6 insertions, 4 deletions
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();