Use map instead of unordered_map.

This is because downstream code can benefit from the ordering guarantee.
This commit is contained in:
Atgeirr Flø Rasmussen
2016-09-07 13:37:09 +02:00
parent 37938bbf5e
commit 81a9f0521f
2 changed files with 7 additions and 7 deletions

View File

@@ -210,11 +210,11 @@ namespace Opm {
}
const std::unordered_map<std::string, std::vector<double>>& SimulationDataContainer::cellData() const {
const std::map<std::string, std::vector<double>>& SimulationDataContainer::cellData() const {
return m_cell_data;
}
std::unordered_map<std::string, std::vector<double>>& SimulationDataContainer::cellData() {
std::map<std::string, std::vector<double>>& SimulationDataContainer::cellData() {
return m_cell_data;
}