summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-100-PartitionFreelistEntry-namespace.patch
blob: 0ca9956d5b407dcc3935db39a944d4f7e5f672c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From f6490c3b85b1d6f2043c59680ac7c273b03b5a39 Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
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