Use "= delete" for DISALLOW_COPY and DISALLOW_ASSIGN.
commita99741d56bdc73608504be57832100652f9e4cd0
authormlamouri <mlamouri@chromium.org>
Thu, 21 May 2015 22:54:05 +0000 (21 15:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 22:55:37 +0000 (21 22:55 +0000)
tree8b8f016eadc24388df3ecdda47c694815cdcd46d
parent8542185bbb9fd0c0e7d0240c64403d2e4cea39f2
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

Review URL: https://codereview.chromium.org/1151443003

Cr-Commit-Position: refs/heads/master@{#331017}
base/macros.h