summaryrefslogtreecommitdiff
path: root/src/spellshortcut.cpp
diff options
context:
space:
mode:
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(),