Commit 9afab6b5 authored by LM's avatar LM

Fixed minor compile error

parent ed16694f
...@@ -83,7 +83,7 @@ void LogCompressor::run() ...@@ -83,7 +83,7 @@ void LogCompressor::run()
// Now update each key with its index in the output string. These are // Now update each key with its index in the output string. These are
// all offset by one to account for the first field: timestamp_ms. // all offset by one to account for the first field: timestamp_ms.
QMap<QString, int>::iterator i = messageMap.constBegin(); QMap<QString, int>::iterator i = messageMap.begin();
int j; int j;
for (i = messageMap.begin(), j = 1; i != messageMap.end(); ++i, ++j) { for (i = messageMap.begin(), j = 1; i != messageMap.end(); ++i, ++j) {
i.value() = j; i.value() = j;
...@@ -174,4 +174,4 @@ bool LogCompressor::isFinished() ...@@ -174,4 +174,4 @@ bool LogCompressor::isFinished()
int LogCompressor::getCurrentLine() int LogCompressor::getCurrentLine()
{ {
return currentDataLine; return currentDataLine;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment