diff options
Diffstat (limited to 'build2/version/rule.cxx')
-rw-r--r-- | build2/version/rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx index 1ff5b41..83f402f 100644 --- a/build2/version/rule.cxx +++ b/build2/version/rule.cxx @@ -80,7 +80,7 @@ namespace build2 // If we match, lookup and cache the module for the update operation. // if (r && a == perform_update_id) - t.data (rs.modules.lookup<module> (module::name)); + t.data (rs.lookup_module<module> (module::name)); return r; } @@ -314,7 +314,7 @@ namespace build2 const path& p (t.path ()); const scope& rs (t.root_scope ()); - const module& m (*rs.modules.lookup<module> (module::name)); + const module& m (*rs.lookup_module<module> (module::name)); if (!m.rewritten) return auto_rmfile (p, false /* active */); |