Use map instead of unordered_map.
This is because downstream code can benefit from the ordering guarantee.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user