office-gobmx/external/pdfium/c++20-comparison.patch
Miklos Vajna c97c60f70e external: update pdfium to 5298
pdfium_arm64.patch.1 is now upstreamed as
<https://pdfium-review.googlesource.com/c/pdfium/+/96010>.

Change-Id: Iafb1ba480161429094db5446ab50314068ae4cfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139876
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-09-14 08:27:59 +02:00

13 lines
568 B
Diff

--- core/fxcrt/fx_memory_wrappers.h
+++ core/fxcrt/fx_memory_wrappers.h
@@ -70,8 +70,8 @@ struct FxPartitionAllocAllocator {
}
// There's no state, so they are all the same,
- bool operator==(const FxPartitionAllocAllocator& that) { return true; }
- bool operator!=(const FxPartitionAllocAllocator& that) { return false; }
+ bool operator==(const FxPartitionAllocAllocator& that) const { return true; }
+ bool operator!=(const FxPartitionAllocAllocator& that) const { return false; }
};
// Used to put backing store for std::vector<> and such into the