commit | a99741d56bdc73608504be57832100652f9e4cd0 | [log] [tgz] |
---|---|---|
author | mlamouri <mlamouri@chromium.org> | Thu May 21 22:54:05 2015 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 21 22:55:37 2015 |
tree | 8b8f016eadc24388df3ecdda47c694815cdcd46d | |
parent | 8542185bbb9fd0c0e7d0240c64403d2e4cea39f2 [diff] |
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}