diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-30 11:25:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-30 11:25:42 +0200 |
commit | 67d799852492743a93a464002395ccb624514fb8 (patch) | |
tree | d46193a6c13f9cd64f9ff545b8b1f5fc441bab00 /libbuild2/rule-map.hxx | |
parent | f6319b258bb478e19d4a17852a8406e6b1119b87 (diff) |
Add std::{map, multimap} to types.hxx
Seeing that std::map is becoming a common Buildfile variable type.
Diffstat (limited to 'libbuild2/rule-map.hxx')
-rw-r--r-- | libbuild2/rule-map.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libbuild2/rule-map.hxx b/libbuild2/rule-map.hxx index df59548..8014d02 100644 --- a/libbuild2/rule-map.hxx +++ b/libbuild2/rule-map.hxx @@ -4,8 +4,6 @@ #ifndef LIBBUILD2_RULE_MAP_HXX #define LIBBUILD2_RULE_MAP_HXX -#include <map> - #include <libbutl/prefix-map.mxx> #include <libbuild2/types.hxx> @@ -19,7 +17,7 @@ namespace build2 using hint_rule_map = butl::prefix_map<string, reference_wrapper<const rule>, '.'>; - using target_type_rule_map = std::map<const target_type*, hint_rule_map>; + using target_type_rule_map = map<const target_type*, hint_rule_map>; // This is an "indexed map" with operation_id being the index. Entry // with id 0 is a wildcard. |