aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index ddf0071..d418cda 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -44,13 +44,10 @@ namespace build
if (i == rules.end ()) // No rules registered for this target type.
continue;
- const auto& rules (i->second); // Name map.
+ const auto& rules (i->second); // Hint map.
string hint; // @@ TODO
-
- auto rs (hint.empty ()
- ? make_pair (rules.begin (), rules.end ())
- : rules.find (hint));
+ auto rs (rules.find (hint));
for (auto i (rs.first); i != rs.second; ++i)
{