Commit e40b70f8 authored by Marcin Siodelski's avatar Marcin Siodelski

[master] Removed use of const iterator in the call to erase.

The erase function was called on the const_iterator which caused build
failures on Linux boxes with gcc. This fix was okayed on jabber.
parent cf2f75f1
......@@ -79,7 +79,7 @@ MessageInitializer::~MessageInitializer() {
while (values_[i]) {
// Check if the unloaded message is registered as duplicate. If it is,
// remove it from the duplicates list.
LoggerDuplicatesList::const_iterator dup =
LoggerDuplicatesList::iterator dup =
std::find(global_logger_duplicates_->begin(),
global_logger_duplicates_->end(),
values_[i]);
......
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