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

Issue 1151443003: Use "= delete" for DISALLOW_COPY and DISALLOW_ASSIGN. (Closed)

Created:
5 years, 7 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use "= delete" for DISALLOW_COPY and DISALLOW_ASSIGN. This will guarantee the error to be at compile time, and not rely on the call visibility (private). DISALLOW_COPY_AND_ASSIGN and DISSALOW_IMPLICIT_CONSTRUCTORS can't be changed yet because they are redefine in different place in the code base. BUG=447156 Committed: https://crrev.com/a99741d56bdc73608504be57832100652f9e4cd0 Cr-Commit-Position: refs/heads/master@{#331017}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M base/macros.h View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
mlamouri (slow - plz ping)
5 years, 7 months ago (2015-05-20 10:48:30 UTC) #2
Nico
This is roughly crbug.com/447156 The commit message is incorrect: These macros are supposed to be ...
5 years, 7 months ago (2015-05-20 15:32:04 UTC) #3
mlamouri (slow - plz ping)
On 2015/05/20 at 15:32:04, thakis wrote: > This is roughly crbug.com/447156 > > The commit ...
5 years, 7 months ago (2015-05-20 15:40:12 UTC) #4
Nico
On 2015/05/20 15:40:12, Mounir Lamouri wrote: > On 2015/05/20 at 15:32:04, thakis wrote: > > ...
5 years, 7 months ago (2015-05-21 03:11:43 UTC) #5
Nico
(also, sorry about the huge delay, I didn't have a computer near me today)
5 years, 7 months ago (2015-05-21 03:12:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1151443003/1
5 years, 7 months ago (2015-05-21 15:32:53 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-05-21 22:54:14 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 22:56:07 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a99741d56bdc73608504be57832100652f9e4cd0
Cr-Commit-Position: refs/heads/master@{#331017}

Powered by Google App Engine
This is Rietveld 408576698