From 7b9eb752cad04aaadc4552d0f26d307b04af1869 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Feb 2017 08:09:53 +0200 Subject: Pass const target& to recipes --- build2/test/common.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/test/common.cxx') diff --git a/build2/test/common.cxx b/build2/test/common.cxx index 1b4c194..be0e690 100644 --- a/build2/test/common.cxx +++ b/build2/test/common.cxx @@ -55,7 +55,7 @@ namespace build2 } bool common:: - pass (target& a) const + pass (const target& a) const { if (test_ == nullptr) return true; @@ -95,7 +95,7 @@ namespace build2 } bool common:: - test (target& t) const + test (const target& t) const { if (test_ == nullptr) return true; @@ -159,7 +159,7 @@ namespace build2 } bool common:: - test (target& t, const path& id) const + test (const target& t, const path& id) const { if (test_ == nullptr) return true; -- cgit v1.1