office-gobmx/external/breakpad/c++20-allocator.patch
Luboš Luňák ff673ce838 update breakpad to the current chrome_m90 snapshot
We've been using a version from 2015. And it appears that most (all?)
crashreports generated on Windows have unusable backtraces, so maybe
this update helps with that.

Change-Id: Ied4a7943e6023c625bcd9060f18b4b90c00ad29b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113750
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-05-03 12:02:18 +02:00

12 lines
621 B
Diff

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),