1
0
Fork 0
libreoffice/external/pdfium/c++20-comparison.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +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