summaryrefslogtreecommitdiffstats
path: root/sccomp/source
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-06 00:56:21 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-06 00:59:10 +0100
commiteb1d9d3cda2da6b00749ff61ea63931f00a5b2b7 (patch)
tree4d31232cf0d58f153ca474ba8802344f954c9836 /sccomp/source
parentSome cppcheck cleaning (diff)
downloadcore-eb1d9d3cda2da6b00749ff61ea63931f00a5b2b7.tar.gz
core-eb1d9d3cda2da6b00749ff61ea63931f00a5b2b7.zip
port repository calc to boost unordered containers
Diffstat (limited to 'sccomp/source')
-rw-r--r--sccomp/source/solver/solver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx
index 23f40299e2b2..101e29bd891d 100644
--- a/sccomp/source/solver/solver.cxx
+++ b/sccomp/source/solver/solver.cxx
@@ -50,7 +50,7 @@
#include <rtl/ustrbuf.hxx>
#include <cppuhelper/factory.hxx>
#include <vector>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <tools/resmgr.hxx>
@@ -119,7 +119,7 @@ struct ScSolverCellEqual
}
};
-typedef std::hash_map< table::CellAddress, std::vector<double>, ScSolverCellHash, ScSolverCellEqual > ScSolverCellHashMap;
+typedef boost::unordered_map< table::CellAddress, std::vector<double>, ScSolverCellHash, ScSolverCellEqual > ScSolverCellHashMap;
// -----------------------------------------------------------------------