From 457f65414031f45174f3c35230a0c0e1de88b51a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Apr 2022 04:39:45 +0200 Subject: Switch to using std::function for target::data_pad --- libbuild2/scope.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libbuild2/scope.hxx') 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 T* + find_module (const string& name) + { + return root_extra->modules.find_module (name); + } + + template + const T* find_module (const string& name) const { return root_extra->modules.find_module (name); -- cgit v1.1