diff --git a/absl/strings/string_view.h b/absl/strings/string_view.h index c23ef592ce3..c87602a6a82 100644 --- a/absl/strings/string_view.h +++ b/absl/strings/string_view.h @@ -204,9 +204,8 @@ class ABSL_ATTRIBUTE_VIEW string_view { constexpr string_view(absl::Nullable data, size_type len) : ptr_(data), length_(CheckLengthInternal(len)) {} - // NOTE: Harmlessly omitted to work around gdb bug. - // constexpr string_view(const string_view&) noexcept = default; - // string_view& operator=(const string_view&) noexcept = default; + constexpr string_view(const string_view&) noexcept = default; + string_view& operator=(const string_view&) noexcept = default; // Iterators