summaryrefslogtreecommitdiff
path: root/src/gui/windows
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/windows
parentf09d8c8fd0d4f422ac50fe3c91eabcb0848bb118 (diff)
downloadmv-5bc402bb82b8cd958e138a0802b96c7532e4fb04.tar.gz
mv-5bc402bb82b8cd958e138a0802b96c7532e4fb04.tar.bz2
mv-5bc402bb82b8cd958e138a0802b96c7532e4fb04.tar.xz
mv-5bc402bb82b8cd958e138a0802b96c7532e4fb04.zip
add restrict into ministatuswindow.
Diffstat (limited to 'src/gui/windows')
-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();