From f6490c3b85b1d6f2043c59680ac7c273b03b5a39 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann Date: Sun, 6 Feb 2022 07:58:32 +0000 Subject: [PATCH] libstdc++: add namespace for nullptr_t in PartitionFreelistEntry --- base/allocator/partition_allocator/partition_freelist_entry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/allocator/partition_allocator/partition_freelist_entry.h b/base/allocator/partition_allocator/partition_freelist_entry.h index cb20598..850d27b 100644 --- a/base/allocator/partition_allocator/partition_freelist_entry.h +++ b/base/allocator/partition_allocator/partition_freelist_entry.h @@ -86,7 +86,7 @@ class EncodedPartitionFreelistEntryPtr { // the rationale and mechanism, respectively. class PartitionFreelistEntry { private: - explicit constexpr PartitionFreelistEntry(nullptr_t) + explicit constexpr PartitionFreelistEntry(std::nullptr_t) : encoded_next_(EncodedPartitionFreelistEntryPtr(nullptr)) #if defined(PA_HAS_FREELIST_SHADOW_ENTRY) , -- 2.34.1