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

Issue 2335483003: Replace a DCHECK with static_assert (Closed)

Created:
4 years, 3 months ago by kwiberg-webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace a DCHECK with static_assert This requires marking a bunch of compile-time constants "constexpr" instead of just "const". Committed: https://crrev.com/d59d3bb117544f2d4efe9f27d199f440a1da6cb8 Cr-Commit-Position: refs/heads/master@{#14199}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -16 lines) Patch
M webrtc/modules/audio_processing/audio_processing_impl.cc View 2 chunks +8 lines, -13 lines 2 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
kwiberg-webrtc
4 years, 3 months ago (2016-09-13 09:56:58 UTC) #6
kwiberg-webrtc
This is a follow-up to https://codereview.webrtc.org/2304123002/.
4 years, 3 months ago (2016-09-13 12:39:18 UTC) #8
peah-webrtc
Nice!!! lgtm https://codereview.webrtc.org/2335483003/diff/80001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/2335483003/diff/80001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode106 webrtc/modules/audio_processing/audio_processing_impl.cc:106: ""); Don't we want a message for ...
4 years, 3 months ago (2016-09-13 12:50:12 UTC) #9
kwiberg-webrtc
https://codereview.webrtc.org/2335483003/diff/80001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/2335483003/diff/80001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode106 webrtc/modules/audio_processing/audio_processing_impl.cc:106: ""); On 2016/09/13 12:50:12, peah-webrtc wrote: > Don't we ...
4 years, 3 months ago (2016-09-13 13:11:18 UTC) #10
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/2335483003/80001
4 years, 3 months ago (2016-09-13 13:11:41 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:80001)
4 years, 3 months ago (2016-09-13 14:49:36 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 14:49:48 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d59d3bb117544f2d4efe9f27d199f440a1da6cb8
Cr-Commit-Position: refs/heads/master@{#14199}

Powered by Google App Engine
This is Rietveld 408576698