Commit d8b70fc4 authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud

algo/core/windows.cpp: Fix compilation error with g++4.8

There is a problem in g++4.8: erase with a const_iterator doesn't exist
(while it should: it is c++11).
parent 9b5d04fd
Pipeline #43391 passed with stages
in 44 minutes and 14 seconds
......@@ -270,7 +270,7 @@ json WindowsStorage::sortedWindowsToJson(map <junction, json> json_data_segment,
json windowsArray;
int top = 1;
for (list<pair <junction, size_t> >::const_iterator it = sort_all_windows.begin();
for (list<pair <junction, size_t> >::iterator it = sort_all_windows.begin();
it != sort_all_windows.end(); )
{
......
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