This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new a9a82beea2 Replace std::hash_multimap with std::unordered_multimap in
propcontroller.hxx
a9a82beea2 is described below
commit a9a82beea26353330147442da8a2015c109b058c
Author: Pedro Giffuni <[email protected]>
AuthorDate: Sun Nov 8 20:12:51 2026 -0500
Replace std::hash_multimap with std::unordered_multimap in
propcontroller.hxx
std::hash_multimap is a GNU extension removed from GCC 13's libstdc++,
causing a build failure in the pcr module (propcontroller.obj).
std::unordered_multimap is the C++11 standard equivalent already used
elsewhere in this file and supports all operations performed on
m_aDependencyHandlers.
---
main/extensions/source/propctrlr/propcontroller.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/extensions/source/propctrlr/propcontroller.hxx
b/main/extensions/source/propctrlr/propcontroller.hxx
index 3a635e896b..bea96831cf 100644
--- a/main/extensions/source/propctrlr/propcontroller.hxx
+++ b/main/extensions/source/propctrlr/propcontroller.hxx
@@ -137,7 +137,7 @@ namespace pcr
typedef ::std::vector< PropertyHandlerRef > PropertyHandlerArray;
typedef ::std::unordered_map< ::rtl::OUString, PropertyHandlerRef,
::rtl::OUStringHash >
PropertyHandlerRepository;
- typedef ::std::hash_multimap< ::rtl::OUString, PropertyHandlerRef,
::rtl::OUStringHash >
+ typedef ::std::unordered_multimap< ::rtl::OUString,
PropertyHandlerRef, ::rtl::OUStringHash >
PropertyHandlerMultiRepository;
PropertyHandlerRepository m_aPropertyHandlers;
PropertyHandlerMultiRepository m_aDependencyHandlers;