From 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:21:10 +0300 Subject: Add missing const in other left files. --- src/textmanager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/textmanager.cpp') 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; -- cgit v1.2.3-60-g2f50