diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:34:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:34:07 +0300 |
commit | b0d6ef00eebb7dcd03b051db63840c04243a784d (patch) | |
tree | 8998572186af79ee342ba3515ae8fe52875ede1c /src/gui/widgets | |
parent | 4acdea8dc3c12147965f63b2974d192d8cd0ed34 (diff) | |
download | mv-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.gz mv-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.bz2 mv-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.xz mv-b0d6ef00eebb7dcd03b051db63840c04243a784d.zip |
Add missing consts or string references.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 15e2df093..450379392 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -203,8 +203,8 @@ namespace const ItemDbTypeT t2 = info2.getType(); if (t1 == t2) { - const std::string name1 = info1.getName(); - const std::string name2 = info2.getName(); + const std::string &name1 = info1.getName(); + const std::string &name2 = info2.getName(); if (name1 == name2) { return pair1->mItem->getInvIndex() < |