summaryrefslogtreecommitdiff
path: root/src/textmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
commit7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (patch)
tree8b74b950fd50627b9477d97053a4ade9fd9aa7fd /src/textmanager.cpp
parent21069ec1635bd24ab33805e033d28f2c0b2de482 (diff)
downloadplus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.gz
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.bz2
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.xz
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.zip
Add missing const in other left files.
Diffstat (limited to 'src/textmanager.cpp')
-rw-r--r--src/textmanager.cpp4
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;