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

Issue 2570343002: operator* and and operator-> on iterators should be const (Closed)

Created:
4 years ago by Nico
Modified:
4 years ago
Reviewers:
sof, jsbell
CC:
chromium-reviews, jam, jsbell+idb_chromium.org, darin-cc_chromium.org, cmumford
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

operator* and and operator-> on iterators should be const Required by the standard, and, apparently, MSVC2017. Also remove redundant `inline`s (methods defined within a class body are implicit inilne already), and use the iterator typedefs more. BUG=none Committed: https://crrev.com/be4f04515cf473226b9c30f4dd722fa3379dc17f Cr-Commit-Position: refs/heads/master@{#438557}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -25 lines) Patch
M content/browser/indexed_db/list_set.h View 2 chunks +21 lines, -25 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Nico
4 years ago (2016-12-14 16:24:35 UTC) #2
jsbell
lgtm
4 years ago (2016-12-14 16:52:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2570343002/1
4 years ago (2016-12-14 17:20:05 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-14 18:52:20 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/be4f04515cf473226b9c30f4dd722fa3379dc17f Cr-Commit-Position: refs/heads/master@{#438557}
4 years ago (2016-12-14 18:54:18 UTC) #14
sof
4 years ago (2016-12-15 12:46:17 UTC) #16
Message was sent while issue was closed.
Thanks for the fix!

This one's been a problem for me for a while with non-MSVC toolchains (
https://codereview.chromium.org/2472213003/#msg77 .)

Powered by Google App Engine
This is Rietveld 408576698