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 ab499276bc Replace std::hash_map with std::unordered_map in solver.cxx
ab499276bc is described below

commit ab499276bc1bcd43e357ef04f3f0ebb434a114ec
Author: Pedro Giffuni <[email protected]>
AuthorDate: Mon Nov 9 16:56:47 2026 -0500

    Replace std::hash_map with std::unordered_map in solver.cxx
    
    std::hash_map is a GNU extension removed from GCC 15's libstdc++ and
    is not available in std:: on MSVC. The file already includes
    <unordered_map>.
    
    Should fix the openoffice-win10 buildbot.
---
 main/sccomp/source/solver/solver.cxx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/main/sccomp/source/solver/solver.cxx 
b/main/sccomp/source/solver/solver.cxx
index f7fee96ec5..d290f0734c 100644
--- a/main/sccomp/source/solver/solver.cxx
+++ b/main/sccomp/source/solver/solver.cxx
@@ -39,7 +39,6 @@
 #include <rtl/ustrbuf.hxx>
 #include <cppuhelper/factory.hxx>
 #include <vector>
-#include <hash_map>
 #include <unordered_map>
 #include <string>
 
@@ -112,7 +111,7 @@ struct ScSolverCellEqual
     }
 };
 
-typedef std::hash_map< table::CellAddress, std::vector<double>, 
ScSolverCellHash, ScSolverCellEqual > ScSolverCellHashMap;
+typedef std::unordered_map< table::CellAddress, std::vector<double>, 
ScSolverCellHash, ScSolverCellEqual > ScSolverCellHashMap;
 
 // -----------------------------------------------------------------------
 

Reply via email to