summaryrefslogtreecommitdiff
path: root/src/spellshortcut.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-11 21:08:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-11 21:08:02 +0300
commitaef5053e87c93a8987f89e4fdaf6cf3dd23efe81 (patch)
tree1114d14958b13eba28a51e57722d6c4da0b9d2e7 /src/spellshortcut.cpp
parenta50ecdf6045ba0f0d5e91d10ddeb8d5520ba55cb (diff)
downloadManaVerse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.gz
ManaVerse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.bz2
ManaVerse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.xz
ManaVerse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.zip
fix code style.
Diffstat (limited to 'src/spellshortcut.cpp')
-rw-r--r--src/spellshortcut.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellshortcut.cpp b/src/spellshortcut.cpp
index ecdf3a8ae..4e0e5a180 100644
--- a/src/spellshortcut.cpp
+++ b/src/spellshortcut.cpp
@@ -44,7 +44,7 @@ void SpellShortcut::load()
if (!spellManager)
return;
- const std::vector<TextCommand*> spells = spellManager->getAll();
+ const std::vector<TextCommand*> &spells = spellManager->getAll();
unsigned k = 0;
for (std::vector<TextCommand*>::const_iterator i = spells.begin(),