summaryrefslogtreecommitdiff
path: root/zen/error_log.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:59 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:59 +0200
commita1c91f4695e208d5a8f80dc37b1818169b7829ff (patch)
tree52f5134376d17c99b6c9e53133a2eb5cf171377c /zen/error_log.h
parent5.16 (diff)
downloadFreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.gz
FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.bz2
FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.zip
5.17
Diffstat (limited to 'zen/error_log.h')
-rw-r--r--zen/error_log.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/zen/error_log.h b/zen/error_log.h
index 490bb1f4..05049d27 100644
--- a/zen/error_log.h
+++ b/zen/error_log.h
@@ -105,8 +105,8 @@ String formatMessageImpl(const LogEntry& entry) //internal linkage
String formattedText = L"[" + formatTime<String>(FORMAT_TIME, localTime(entry.time)) + L"] " + copyStringTo<String>(getTypeName()) + L": ";
const size_t prefixLen = formattedText.size();
- for (auto iter = entry.message.begin(); iter != entry.message.end(); )
- if (*iter == L'\n')
+ for (auto it = entry.message.begin(); it != entry.message.end(); )
+ if (*it == L'\n')
{
formattedText += L'\n';
@@ -116,12 +116,12 @@ String formatMessageImpl(const LogEntry& entry) //internal linkage
do //skip duplicate newlines
{
- ++iter;
+ ++it;
}
- while (iter != entry.message.end() && *iter == L'\n');
+ while (it != entry.message.end() && *it == L'\n');
}
else
- formattedText += *iter++;
+ formattedText += *it++;
return formattedText;
}
bgstack15