summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-11 20:03:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-11 20:03:02 +0300
commit91fa2122a536770924bb2819bec4b79e76393d08 (patch)
tree93c0e191249b2158cf92a564630a4b16e9ccdcaa /src/gui/tradewindow.h
parent1a524dc9468fe532bc060a73ef736a68687aadca (diff)
downloadmv-91fa2122a536770924bb2819bec4b79e76393d08.tar.gz
mv-91fa2122a536770924bb2819bec4b79e76393d08.tar.bz2
mv-91fa2122a536770924bb2819bec4b79e76393d08.tar.xz
mv-91fa2122a536770924bb2819bec4b79e76393d08.zip
Fix code style and small perfomance issues.
Diffstat (limited to 'src/gui/tradewindow.h')
-rw-r--r--src/gui/tradewindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/tradewindow.h b/src/gui/tradewindow.h
index 892255fb6..3b840f045 100644
--- a/src/gui/tradewindow.h
+++ b/src/gui/tradewindow.h
@@ -132,10 +132,10 @@ class TradeWindow : public Window,
/**
* Add item what will be added to trade.
*/
- void addAutoItem(const std::string nick, Item *const item,
+ void addAutoItem(const std::string &nick, Item *const item,
const int amount);
- void addAutoMoney(const std::string nick, const int money);
+ void addAutoMoney(const std::string &nick, const int money);
void initTrade(std::string nick);