diff options
Diffstat (limited to 'libbuild2/config')
-rw-r--r-- | libbuild2/config/module.hxx | 4 | ||||
-rw-r--r-- | libbuild2/config/operation.cxx | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/libbuild2/config/module.hxx b/libbuild2/config/module.hxx index 857a30c..3afe721 100644 --- a/libbuild2/config/module.hxx +++ b/libbuild2/config/module.hxx @@ -4,8 +4,6 @@ #ifndef LIBBUILD2_CONFIG_MODULE_HXX #define LIBBUILD2_CONFIG_MODULE_HXX -#include <map> - #include <libbutl/prefix-map.mxx> #include <libbuild2/types.hxx> @@ -55,7 +53,7 @@ namespace build2 // Priority order with INT32_MIN being the highest. Modules with the // same priority are saved in the order inserted. // - std::multimap<std::int32_t, const_iterator> order; + multimap<std::int32_t, const_iterator> order; pair<iterator, bool> insert (string name, int prio = 0) diff --git a/libbuild2/config/operation.cxx b/libbuild2/config/operation.cxx index b9856be..f9d83da 100644 --- a/libbuild2/config/operation.cxx +++ b/libbuild2/config/operation.cxx @@ -82,8 +82,6 @@ namespace build2 } } - using project_set = set<const scope*>; // Use pointers to get comparison. - // Return (first) whether an unused/inherited variable should be saved // according to the config.config.persist value and (second) whether the // user should be warned about it. |