diff options
author | Abseil Team <absl-team@google.com> | 2024-04-18 12:59:26 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-04-18 13:00:44 -0700 |
commit | b85096e6ec707618ba434f657e6b64cbc38db970 (patch) | |
tree | ea5d786f8bec39fd0d3ef8e9385c76ce842c3b26 /absl | |
parent | 7efc308b31d3635a6fb0cb94f9f0ac2317d11fcf (diff) |
Minor cleanup for `absl::Cord`
PiperOrigin-RevId: 626124196
Change-Id: I81a9e4c35d6456ab8cd3942f9c2452c70db90678
Diffstat (limited to 'absl')
-rw-r--r-- | absl/strings/cord.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/strings/cord.h b/absl/strings/cord.h index 95519cd3..0d8d7007 100644 --- a/absl/strings/cord.h +++ b/absl/strings/cord.h @@ -1119,8 +1119,8 @@ absl::Nonnull<CordRep*> NewExternalRep(absl::string_view data, // Overload for function reference types that dispatches using a function // pointer because there are no `alignof()` or `sizeof()` a function reference. // NOLINTNEXTLINE - suppress clang-tidy raw pointer return. -inline absl::Nonnull<CordRep*> NewExternalRep(absl::string_view data, - void (&releaser)(absl::string_view)) { +inline absl::Nonnull<CordRep*> NewExternalRep( + absl::string_view data, void (&releaser)(absl::string_view)) { return NewExternalRep(data, &releaser); } |