summaryrefslogtreecommitdiff
path: root/absl/strings/cord_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/strings/cord_buffer.h')
-rw-r--r--absl/strings/cord_buffer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/absl/strings/cord_buffer.h b/absl/strings/cord_buffer.h
index a3600ac4..bc0e4e45 100644
--- a/absl/strings/cord_buffer.h
+++ b/absl/strings/cord_buffer.h
@@ -160,7 +160,6 @@ class CordBuffer {
// for more information on buffer capacities and intended usage.
static CordBuffer CreateWithDefaultLimit(size_t capacity);
-
// CordBuffer::CreateWithCustomLimit()
//
// Creates a CordBuffer instance of the desired `capacity` rounded to an
@@ -336,7 +335,7 @@ class CordBuffer {
}
// Returns the available area of the internal SSO data
- absl::Span<char> long_available() {
+ absl::Span<char> long_available() const {
assert(!is_short());
const size_t length = long_rep.rep->length;
return absl::Span<char>(long_rep.rep->Data() + length,