File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1363,7 +1363,7 @@ class PoolingMemoryManager final {
1363
1363
// the destructor may be called at some point in the future.
1364
1364
static bool OwnCustomDestructor (google::protobuf::Arena* ABSL_NONNULL arena,
1365
1365
void * object,
1366
- absl::Nonnull< void (*)(void *)> destruct ) {
1366
+ void (*ABSL_NONNULL destruct )(void *)) {
1367
1367
ABSL_DCHECK (destruct != nullptr );
1368
1368
arena->OwnCustomDestructor (object, destruct);
1369
1369
return true ;
@@ -1458,8 +1458,7 @@ class MemoryManager final {
1458
1458
// be called at some point in the future, `false` if will definitely not be
1459
1459
// called. All pooling memory managers return `true` while the reference
1460
1460
// 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 *)) {
1463
1462
ABSL_DCHECK (destruct != nullptr );
1464
1463
if (arena_ == nullptr ) {
1465
1464
return false ;
You can’t perform that action at this time.
0 commit comments