summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/selldialog.cpp2
-rw-r--r--src/gui/windows/selldialog.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp
index 727c94108..bded5bc24 100644
--- a/src/gui/windows/selldialog.cpp
+++ b/src/gui/windows/selldialog.cpp
@@ -60,7 +60,7 @@ SellDialog::SellDialog(const int npcId) :
init();
}
-SellDialog::SellDialog(std::string nick):
+SellDialog::SellDialog(const std::string &nick):
// TRANSLATORS: sell dialog name
Window(_("Sell"), false, nullptr, "sell.xml"),
gcn::ActionListener(),
diff --git a/src/gui/windows/selldialog.h b/src/gui/windows/selldialog.h
index f811cc311..eae33531f 100644
--- a/src/gui/windows/selldialog.h
+++ b/src/gui/windows/selldialog.h
@@ -56,7 +56,7 @@ class SellDialog final : public Window,
/**
* Constructor.
*/
- explicit SellDialog(std::string nick);
+ explicit SellDialog(const std::string &nick);
A_DELETE_COPY(SellDialog)