Skip to content

Commit b9648d4

Browse files
CEL Dev Teamcopybara-github
CEL Dev Team
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 755069590
1 parent 6741857 commit b9648d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

common/memory.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ class PoolingMemoryManager final {
13631363
// the destructor may be called at some point in the future.
13641364
static bool OwnCustomDestructor(google::protobuf::Arena* ABSL_NONNULL arena,
13651365
void* object,
1366-
absl::Nonnull<void (*)(void*)> destruct) {
1366+
void (*ABSL_NONNULL destruct)(void*)) {
13671367
ABSL_DCHECK(destruct != nullptr);
13681368
arena->OwnCustomDestructor(object, destruct);
13691369
return true;
@@ -1458,8 +1458,7 @@ class MemoryManager final {
14581458
// be called at some point in the future, `false` if will definitely not be
14591459
// called. All pooling memory managers return `true` while the reference
14601460
// counting memory manager returns `false`.
1461-
bool OwnCustomDestructor(void* object,
1462-
absl::Nonnull<void (*)(void*)> destruct) {
1461+
bool OwnCustomDestructor(void* object, void (*ABSL_NONNULL destruct)(void*)) {
14631462
ABSL_DCHECK(destruct != nullptr);
14641463
if (arena_ == nullptr) {
14651464
return false;

0 commit comments

Comments
 (0)