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/dist/operation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/dist') diff --git a/libbuild2/dist/operation.cxx b/libbuild2/dist/operation.cxx index 150a5a1..b8ff57d 100644 --- a/libbuild2/dist/operation.cxx +++ b/libbuild2/dist/operation.cxx @@ -483,7 +483,7 @@ namespace build2 // Copy over all the files. Apply post-processing callbacks. // - module& mod (*rs.find_module (module::name)); + const module& mod (*rs.find_module (module::name)); prog = prog && show_progress (1 /* max_verb */); size_t prog_percent (0); -- cgit v1.1