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

Issue 2834753002: Remove unneeded enum forward declaration (Closed)

Created:
3 years, 8 months ago by brucedawson
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove unneeded enum forward declaration While building Chrome with the VC++ 2017 /permissive- flag I got a warning about a forward declaration of enum RateControlRegion. Untyped forward declarations of enums are illegal because the compiler doesn't know what size to make them. The only reason this forward declaration is legal is because it isn't needed (the type is already defined). This was found because /permissive- (or, equivalently for this purpose, /w14471) incorrectly fires on this forward declaration even though it is legal. BUG=chromium:736059 Review-Url: https://codereview.webrtc.org/2834753002 Cr-Commit-Position: refs/heads/master@{#18741} Committed: https://chromium.googlesource.com/external/webrtc/+/5e5f7e14b23ee93fb163d64229da5ec5708f7cf9

Patch Set 1 #

Patch Set 2 : Update definition as well #

Patch Set 3 : Remove forward declaration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M webrtc/modules/remote_bitrate_estimator/overuse_detector.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 45 (32 generated)
brucedawson
Minor tweak. PTAL.
3 years, 8 months ago (2017-04-21 23:02:23 UTC) #21
brucedawson
Ping - PTAL. Tiny change to remove an unneeded/misleading forward declaration.
3 years, 7 months ago (2017-04-27 18:13:50 UTC) #22
brucedawson
Ping, with another reviewer added also. Trivial change.
3 years, 6 months ago (2017-05-26 20:52:28 UTC) #24
brucedawson
PTAL - minor code cleanup that has languished for a bit.
3 years, 6 months ago (2017-06-20 17:43:28 UTC) #26
hlundin-webrtc
lgtm
3 years, 6 months ago (2017-06-22 06:24:07 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2834753002/40001
3 years, 6 months ago (2017-06-22 18:19:27 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/18500)
3 years, 6 months ago (2017-06-22 18:30:18 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2834753002/40001
3 years, 6 months ago (2017-06-22 20:01:40 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/18504)
3 years, 6 months ago (2017-06-22 20:05:21 UTC) #36
brucedawson
Sigh... Apparently hlundin isn't an owner. PTAL
3 years, 6 months ago (2017-06-22 21:26:54 UTC) #38
tommi
lgtm
3 years, 5 months ago (2017-06-24 19:38:48 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2834753002/40001
3 years, 5 months ago (2017-06-24 19:38:56 UTC) #42
commit-bot: I haz the power
3 years, 5 months ago (2017-06-24 20:04:35 UTC) #45
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/5e5f7e14b23ee93fb163d6422...

Powered by Google App Engine
This is Rietveld 408576698