diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-07 08:09:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | 7b9eb752cad04aaadc4552d0f26d307b04af1869 (patch) | |
tree | d19cdb450ddec384ec41d9129f8d4afecc14acb7 /build2/test/common.cxx | |
parent | be773edfa2c8f8f3230509bbd713542d20fbb37e (diff) |
Pass const target& to recipes
Diffstat (limited to 'build2/test/common.cxx')
-rw-r--r-- | build2/test/common.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |