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