summaryrefslogtreecommitdiffstats
path: root/build2/cc/compile-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile-rule.cxx')
-rw-r--r--build2/cc/compile-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index e0faf7f8..4d6068d2 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -3981,7 +3981,7 @@ namespace build2
//
#ifndef NDEBUG
assert (ps->root ());
- const module* m (ps->modules.lookup<module> (x));
+ const module* m (ps->lookup_module<module> (x));
assert (m != nullptr && m->modules);
#endif
}