Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/LibreOffice/external/breakpad/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 621 B image not shown  

Quelle  c++20-allocator.patch   Sprache: unbekannt

 
diff -u -p -d -N -r breakpad.sav/src/common/memory_allocator.h breakpad/src/common/memory_allocator.h
--- src/common/memory_allocator.h 2021-04-07 19:12:50.357462734 +0200
+++ src/common/memory_allocator.h 2021-04-07 19:45:05.490291766 +0200
@@ -161,7 +161,7 @@ class PageAllocator {
 // Wrapper to use with STL containers
 template <typename T>
 struct PageStdAllocator : public std::allocator<T> {
-  typedef typename std::allocator<T>::pointer pointer;
+  typedef T* pointer;
   typedef typename std::allocator<T>::size_type size_type;
 
   explicit PageStdAllocator(PageAllocator& allocator) : allocator_(allocator),

[ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet)  ]