Skip to content

Commit 38ac5aa

Browse files
Revert "Move to unordered_map"
This reverts commit 5610321. Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
1 parent 09c06ea commit 38ac5aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/gz/physics/CompositeData.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
#define GZ_PHYSICS_COMPOSITEDATA_HH_
2020

2121
#include <string>
22+
#include <map>
2223
#include <set>
2324
#include <typeindex>
24-
#include <unordered_map>
2525

2626
#include <gz/utils/SuppressWarning.hh>
2727

@@ -964,7 +964,7 @@ namespace gz
964964

965965
// We make this typedef public so that helper functions can use it without
966966
// being friends of the class.
967-
public: using MapOfData = std::unordered_map<std::type_index, DataEntry>;
967+
public: using MapOfData = std::map<std::type_index, DataEntry>;
968968

969969
GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
970970
/// \brief Map from the label of a data object type to its entry

0 commit comments

Comments
 (0)