From 609249dfdaa7b099a90a83b151f88c86176689fb Mon Sep 17 00:00:00 2001 From: tfarina Date: Mon, 3 Aug 2015 12:55:35 -0700 Subject: third_party/hunspell: Use DISALLOW_COPY_AND_ASSIGN macro. The EVIL is deprecated and will be removed in future. BUG=None R=rouslan@chromium.org Review URL: https://codereview.chromium.org/1266103004 Cr-Commit-Position: refs/heads/master@{#341593} --- third_party/hunspell/google/bdict_reader.h | 4 ++-- third_party/hunspell/google/bdict_writer.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'third_party') diff --git a/third_party/hunspell/google/bdict_reader.h b/third_party/hunspell/google/bdict_reader.h index 997e600..370391d 100644 --- a/third_party/hunspell/google/bdict_reader.h +++ b/third_party/hunspell/google/bdict_reader.h @@ -8,7 +8,7 @@ #include #include -#include "base/basictypes.h" +#include "base/macros.h" #include "third_party/hunspell/google/bdict.h" namespace hunspell { @@ -145,7 +145,7 @@ class BDictReader { const BDict::AffHeader* aff_header_; - DISALLOW_EVIL_CONSTRUCTORS(BDictReader); + DISALLOW_COPY_AND_ASSIGN(BDictReader); }; } // namespace hunspell diff --git a/third_party/hunspell/google/bdict_writer.h b/third_party/hunspell/google/bdict_writer.h index c341708..e4366d9 100644 --- a/third_party/hunspell/google/bdict_writer.h +++ b/third_party/hunspell/google/bdict_writer.h @@ -8,7 +8,7 @@ #include #include -#include "base/basictypes.h" +#include "base/macros.h" namespace hunspell { @@ -62,7 +62,7 @@ class BDictWriter { // Root of the generated trie. Filled by SetWords. DicNode* trie_root_; - DISALLOW_EVIL_CONSTRUCTORS(BDictWriter); + DISALLOW_COPY_AND_ASSIGN(BDictWriter); }; } // namespace hunspell -- cgit v1.1