From f137bf4b5542b966abc4c08762c5e60b21913f4d Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Fri, 13 Aug 2021 15:42:26 +0000 Subject: [Zucchini] Replace DISALLOW_* macros with =delete versions. This CL replaces * 30 instances of DISALLOW_COPY_AND_ASSIGN(Foo), * 1 instance of DISALLOW_IMPLICIT_CONSTRUCTORS(Foo), in Zucchini with: Foo() = delete; // DISALLOW_IMPLICIT_CONSTRUCTORS only. Foo(const Foo&) = delete; const Foo& operator=(const Foo&) = delete; All base/macros.h includes are removed. Bug: 1010217 Change-Id: I13b3d5ed04f04e5c0b209d59e70ac018c5f4938c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3093198 Reviewed-by: Etienne Pierre-Doray Commit-Queue: Samuel Huang Cr-Commit-Position: refs/heads/master@{#911751} NOKEYCHECK=True GitOrigin-RevId: ba0e1f56993c535faa59e2ca02c371bae2ebbb20 --- reference_set.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'reference_set.cc') diff --git a/reference_set.cc b/reference_set.cc index 14d4e54..82a9951 100644 --- a/reference_set.cc +++ b/reference_set.cc @@ -8,7 +8,6 @@ #include #include "base/check_op.h" -#include "base/macros.h" #include "components/zucchini/target_pool.h" namespace zucchini { -- cgit v1.2.3