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 d78b00043a Replace std::hash_multimap with std::unordered_multimap in 
oleobjw.hxx
d78b00043a is described below

commit d78b00043a8fc52f6a9266aa69b7aa804bfb72d6
Author: Pedro Giffuni <[email protected]>
AuthorDate: Sun Nov 8 20:27:40 2026 -0500

    Replace std::hash_multimap with std::unordered_multimap in oleobjw.hxx
    
    std::hash_multimap is a GNU extension removed from GCC 13's libstdc++.
    The functors hashOUString_Impl/equalOUString_Impl are already used with
    std::unordered_map on line 74 of the same file, and all operations on
    m_mapComFunc (find, end, insert) are supported by std::unordered_multimap.
---
 main/extensions/source/ole/oleobjw.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/extensions/source/ole/oleobjw.hxx 
b/main/extensions/source/ole/oleobjw.hxx
index 084d2ad0a4..9e4ef7efe0 100644
--- a/main/extensions/source/ole/oleobjw.hxx
+++ b/main/extensions/source/ole/oleobjw.hxx
@@ -73,7 +73,7 @@ namespace ole_adapter
 
 typedef std::unordered_map<OUString, pair<DISPID, unsigned short>, 
hashOUString_Impl, equalOUString_Impl> DispIdMap;
 
-typedef hash_multimap<OUString, unsigned int, hashOUString_Impl, 
equalOUString_Impl> TLBFuncIndexMap;
+typedef std::unordered_multimap<OUString, unsigned int, hashOUString_Impl, 
equalOUString_Impl> TLBFuncIndexMap;
 
 // This class wraps an IDispatch and maps XInvocation calls to IDispatch calls 
on the wrapped object.
 // If m_TypeDescription is set then this class represents an UNO interface 
implemented in a COM component.

Reply via email to