aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index 9dc2be6..f21fe01 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -566,6 +566,13 @@ namespace build2
template <typename T>
T*
+ find_module (const string& name)
+ {
+ return root_extra->modules.find_module<T> (name);
+ }
+
+ template <typename T>
+ const T*
find_module (const string& name) const
{
return root_extra->modules.find_module<T> (name);