aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index d418cda..16bc1bc 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -47,7 +47,7 @@ namespace build
const auto& rules (i->second); // Hint map.
string hint; // @@ TODO
- auto rs (rules.find (hint));
+ auto rs (rules.find_prefix (hint));
for (auto i (rs.first); i != rs.second; ++i)
{