diff --git a/src/LogCompressor.cc b/src/LogCompressor.cc index e1b01a39c3ffd42cb79bc8317af39e6bb1a9c749..5d41d08c8ed63b24373398d5c4f7d38449e0f48e 100644 --- a/src/LogCompressor.cc +++ b/src/LogCompressor.cc @@ -83,7 +83,7 @@ void LogCompressor::run() // 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. - QMap::iterator i = messageMap.constBegin(); + QMap::iterator i = messageMap.begin(); int j; for (i = messageMap.begin(), j = 1; i != messageMap.end(); ++i, ++j) { i.value() = j; @@ -174,4 +174,4 @@ bool LogCompressor::isFinished() int LogCompressor::getCurrentLine() { return currentDataLine; -} \ No newline at end of file +}