From c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 13 Jun 2017 17:57:32 +0300 Subject: Add missing const references to constructor parameters. --- src/gui/widgets/tabs/shortcuttab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/shortcuttab.h') diff --git a/src/gui/widgets/tabs/shortcuttab.h b/src/gui/widgets/tabs/shortcuttab.h index 7c4419442..61652777f 100644 --- a/src/gui/widgets/tabs/shortcuttab.h +++ b/src/gui/widgets/tabs/shortcuttab.h @@ -31,7 +31,7 @@ class ShortcutTab final : public Tab { public: ShortcutTab(const Widget2 *const widget, - std::string name, + const std::string &name, ShortcutContainer *const content) : Tab(widget), mContent(content) -- cgit v1.2.3-70-g09d2