diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:21:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:21:10 +0300 |
commit | 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (patch) | |
tree | 8b74b950fd50627b9477d97053a4ade9fd9aa7fd /src/textmanager.cpp | |
parent | 21069ec1635bd24ab33805e033d28f2c0b2de482 (diff) | |
download | manaverse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.gz manaverse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.bz2 manaverse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.xz manaverse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.zip |
Add missing const in other left files.
Diffstat (limited to 'src/textmanager.cpp')
-rw-r--r-- | src/textmanager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/textmanager.cpp b/src/textmanager.cpp index 77902674d..bdff28810 100644 --- a/src/textmanager.cpp +++ b/src/textmanager.cpp @@ -97,7 +97,9 @@ void TextManager::place(const Text *const textObj, int cnt = 0; for (TextList::const_iterator ptr = mTextList.begin(), - pEnd = mTextList.end(); ptr != pEnd && cnt < nBeings; ++ptr, cnt ++) + pfEnd = mTextList.end(); + ptr != pfEnd && cnt < nBeings; + ++ptr, cnt ++) { const Text *const text = *ptr; |