diff options
author | Lei Zhang <thestig@chromium.org> | 2021-06-30 16:14:59 +0000 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2021-07-25 21:35:23 -0700 |
commit | 7f0a39065eb5c52bf5dc755688deaba86a62f89b (patch) | |
tree | 23036a25002e99e0660673f15d48ea614a9d29fa | |
parent | 06393f264ebccf82e7738165717cea863bcaa317 (diff) | |
download | zucchini-7f0a39065eb5c52bf5dc755688deaba86a62f89b.tar.gz |
Swap from base/stl_util.h to cxx20_erase.h in components/.
base::Erase() and base::EraseIf() have been moved to
base/containers/cxx20_erase.h, so .cc files that use these functions,
but no other function from base/stl_util.h, can directly include
cxx20_erase.h and not stl_util.h.
Bug: 1211125
Change-Id: Ia8f213f1136ac4c5278cd096b1270002884b556d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2994779
Reviewed-by: Colin Blundell <blundell@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#897400}
NOKEYCHECK=True
GitOrigin-RevId: a6fa14833a6d44c3a3171696f5dbd229d6fdf006
-rw-r--r-- | address_translator.cc | 2 | ||||
-rw-r--r-- | ensemble_matcher.cc | 2 | ||||
-rw-r--r-- | equivalence_map.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/address_translator.cc b/address_translator.cc index a329d1a..d7d7201 100644 --- a/address_translator.cc +++ b/address_translator.cc @@ -7,7 +7,7 @@ #include <algorithm> #include <utility> -#include "base/stl_util.h" +#include "base/containers/cxx20_erase.h" namespace zucchini { diff --git a/ensemble_matcher.cc b/ensemble_matcher.cc index 0ed8a2a..d6e8148 100644 --- a/ensemble_matcher.cc +++ b/ensemble_matcher.cc @@ -7,8 +7,8 @@ #include <algorithm> #include <limits> +#include "base/containers/cxx20_erase.h" #include "base/logging.h" -#include "base/stl_util.h" namespace zucchini { diff --git a/equivalence_map.cc b/equivalence_map.cc index 8583e67..26c0764 100644 --- a/equivalence_map.cc +++ b/equivalence_map.cc @@ -7,9 +7,9 @@ #include <algorithm> #include <utility> +#include "base/containers/cxx20_erase.h" #include "base/logging.h" #include "base/numerics/safe_conversions.h" -#include "base/stl_util.h" #include "components/zucchini/encoded_view.h" #include "components/zucchini/patch_reader.h" #include "components/zucchini/suffix_array.h" |