diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-15 03:55:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-02 14:03:34 +0200 |
commit | b37f1aa6398065be806e6605a023189685669885 (patch) | |
tree | b9b32091e3d70a31852302b24c99ecb62465464a /build2/rule-map | |
parent | a64b2ae2099346471ead988d5f2d383d55a9bf89 (diff) |
Implement parallel match
Diffstat (limited to 'build2/rule-map')
-rw-r--r-- | build2/rule-map | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/rule-map b/build2/rule-map index d7748b6..9fb4056 100644 --- a/build2/rule-map +++ b/build2/rule-map @@ -18,10 +18,10 @@ namespace build2 { class rule; - using target_type_rule_map = std::map< - const target_type*, - butl::prefix_map<string, // Rule hint. - reference_wrapper<const rule>, '.'>>; + 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>; // This is an "indexed map" with operation_id being the index. Entry // with id 0 is a wildcard. |