diff options
Diffstat (limited to 'libbuild2/cc/compile-rule.cxx')
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index 328b65e..de35ad5 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -5201,7 +5201,7 @@ namespace build2 // #ifndef NDEBUG assert (ps->root ()); - const module* m (ps->lookup_module<module> (x)); + const module* m (ps->find_module<module> (x)); assert (m != nullptr && m->modules); #endif |