summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
Diffstat (limited to 'absl')
-rw-r--r--absl/strings/cord.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/absl/strings/cord.h b/absl/strings/cord.h
index dbfca805..1d30fde8 100644
--- a/absl/strings/cord.h
+++ b/absl/strings/cord.h
@@ -853,7 +853,6 @@ class Cord {
explicit constexpr InlineRep(absl::string_view sv, CordRep* rep);
void Swap(InlineRep* rhs);
- bool empty() const;
size_t size() const;
const char* data() const; // Returns nullptr if holding pointer
void set_data(const char* data, size_t n); // Discards pointer, if any
@@ -1170,8 +1169,6 @@ inline absl::cord_internal::CordRep* Cord::InlineRep::tree() const {
}
}
-inline bool Cord::InlineRep::empty() const { return data_.is_empty(); }
-
inline size_t Cord::InlineRep::size() const {
return is_tree() ? as_tree()->length : inline_size();
}