diff --git a/libmamba/src/core/prefix_data.cpp b/libmamba/src/core/prefix_data.cpp index ab767a64f8..1209e939c4 100644 --- a/libmamba/src/core/prefix_data.cpp +++ b/libmamba/src/core/prefix_data.cpp @@ -4,6 +4,9 @@ // // The full license is in the file LICENSE, distributed with this software. +#include +#include + #include "mamba/core/output.hpp" #include "mamba/core/prefix_data.hpp" #include "mamba/core/util.hpp" @@ -77,7 +80,7 @@ namespace mamba using node_id = typename decltype(dep_graph)::node_id; { - auto name_to_node_id = std::map(); + auto name_to_node_id = std::unordered_map(); // Add all nodes for (const auto& [name, record] : records())