Skip to content

Commit

Permalink
Minor cleanup for absl::Cord
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 626124196
Change-Id: I81a9e4c35d6456ab8cd3942f9c2452c70db90678
  • Loading branch information
Abseil Team authored and copybara-github committed Apr 18, 2024
1 parent 7efc308 commit b85096e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions absl/strings/cord.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b85096e

Please sign in to comment.