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

Issue 2424063002: Add rtc::Optional::emplace (Closed)

Created:
4 years, 2 months ago by danilchap
Modified:
4 years, 2 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add rtc::Optional::emplace BUG=None Committed: https://crrev.com/9e83c97e9fedb633675b419221ba9a74f688ca58 Cr-Commit-Position: refs/heads/master@{#14659}

Patch Set 1 #

Patch Set 2 : fix test name #

Patch Set 3 : Fix unpoisoning (asan) #

Total comments: 3

Patch Set 4 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -0 lines) Patch
M webrtc/base/optional.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/base/optional_unittest.cc View 1 2 3 2 chunks +185 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
danilchap
Simple implementation of the emplace: I went for always destroy before reconstruct, instead of forcing ...
4 years, 2 months ago (2016-10-17 15:29:00 UTC) #2
kwiberg-webrtc
lgtm, if you limit the scope of of clang-non-formatting. https://codereview.webrtc.org/2424063002/diff/40001/webrtc/base/optional.h File webrtc/base/optional.h (right): https://codereview.webrtc.org/2424063002/diff/40001/webrtc/base/optional.h#newcode204 webrtc/base/optional.h:204: ...
4 years, 2 months ago (2016-10-18 08:46:19 UTC) #3
danilchap
https://codereview.webrtc.org/2424063002/diff/40001/webrtc/base/optional_unittest.cc File webrtc/base/optional_unittest.cc (right): https://codereview.webrtc.org/2424063002/diff/40001/webrtc/base/optional_unittest.cc#newcode399 webrtc/base/optional_unittest.cc:399: // clang-format off On 2016/10/18 08:46:19, kwiberg-webrtc wrote: > ...
4 years, 2 months ago (2016-10-18 10:37:31 UTC) #4
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/2424063002/60001
4 years, 2 months ago (2016-10-18 10:53:27 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-18 11:07:21 UTC) #8
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 11:07:28 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9e83c97e9fedb633675b419221ba9a74f688ca58
Cr-Commit-Position: refs/heads/master@{#14659}

Powered by Google App Engine
This is Rietveld 408576698