diff options
Diffstat (limited to 'src/gui/textcommandeditor.cpp')
-rw-r--r-- | src/gui/textcommandeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp index 449196ed8..029089704 100644 --- a/src/gui/textcommandeditor.cpp +++ b/src/gui/textcommandeditor.cpp @@ -57,7 +57,7 @@ public: IconsModal() : mStrings() { - std::map<int, ItemInfo*> items = ItemDB::getItemInfos(); + const std::map<int, ItemInfo*> &items = ItemDB::getItemInfos(); std::list<std::string> tempStrings; for (std::map<int, ItemInfo*>::const_iterator |