office-gobmx/external/pdfium/c++20-comparison.patch
Miklos Vajna 71b9523407 external: update pdfium to 4933
Stop tracking build_config.h in our repo, it can be now part of the
release tarball. It was a mistake in the past to think that this is
generated code, it's just external code.

Change-Id: Ife2fed362e28c53859399244e2f1247efb1efe86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131695
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-03-17 11:22:48 +01:00

13 lines
559 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