summaryrefslogtreecommitdiff
path: root/absl/types/internal/span.h
diff options
context:
space:
mode:
authorGravatar Rose <83477269+AtariDreams@users.noreply.github.com>2023-02-21 09:54:00 -0500
committerGravatar Rose <83477269+AtariDreams@users.noreply.github.com>2023-02-22 09:38:16 -0500
commit6247f0e918bbc0519955d41b135069dcc2bbd453 (patch)
tree34c1a79c82df589c3206460d86c83c4a2018bee7 /absl/types/internal/span.h
parentc3b5022604551a045e383c68071d7be0a807839d (diff)
Resolve TODO: remove C++11 workarounds
We no longer support C++11 as per the Google C++ support documentation: we support C++14 and up, so we can remove these workarounds.
Diffstat (limited to 'absl/types/internal/span.h')
-rw-r--r--absl/types/internal/span.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/types/internal/span.h b/absl/types/internal/span.h
index 344ad4db..a196362a 100644
--- a/absl/types/internal/span.h
+++ b/absl/types/internal/span.h
@@ -88,7 +88,7 @@ using EnableIfMutable =
template <template <typename> class SpanT, typename T>
bool EqualImpl(SpanT<T> a, SpanT<T> b) {
static_assert(std::is_const<T>::value, "");
- return absl::equal(a.begin(), a.end(), b.begin(), b.end());
+ return std::equal(a.begin(), a.end(), b.begin(), b.end());
}
template <template <typename> class SpanT, typename T>