Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Issue 401263002: [build-fix] [gcc 4.6.*] Use iterator instead of const_iterator while using std::map::erase(...) (Closed)

Created:
6 years, 5 months ago by vivekg_samsung
Modified:
6 years, 5 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[build-fix] [gcc 4.6.*] Use iterator instead of const_iterator while using std::map::erase(...) Older versions of gcc, like 4.6.* (which is the default on ubuntu 12.04 LTS), throw build error for using const_iterator. This has been documented here [1] [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57158 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284548

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M mojo/services/window_manager/window_manager_app.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
vivekg
Compiler Version: ================ g++ (Ubuntu/Linaro 4.6.4-6ubuntu2) 4.6.4 Build output log: ================ ../../mojo/services/window_manager/window_manager_app.cc: In member function ...
6 years, 5 months ago (2014-07-21 09:35:05 UTC) #1
sky
LGTM
6 years, 5 months ago (2014-07-21 16:04:25 UTC) #2
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 5 months ago (2014-07-21 16:05:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/401263002/1
6 years, 5 months ago (2014-07-21 16:06:08 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-21 18:59:24 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-21 19:32:55 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/41175)
6 years, 5 months ago (2014-07-21 19:32:56 UTC) #7
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 5 months ago (2014-07-21 22:24:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/401263002/1
6 years, 5 months ago (2014-07-21 22:27:17 UTC) #9
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 00:16:42 UTC) #10
Message was sent while issue was closed.
Change committed as 284548

Powered by Google App Engine
This is Rietveld 408576698