From b37f1aa6398065be806e6605a023189685669885 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Feb 2017 03:55:15 +0200 Subject: Implement parallel match --- build2/cli/target | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'build2/cli/target') diff --git a/build2/cli/target b/build2/cli/target index c10e4b8..5e51bb4 100644 --- a/build2/cli/target +++ b/build2/cli/target @@ -26,13 +26,13 @@ namespace build2 virtual const target_type& dynamic_type () const {return static_type;} }; - // Standard layout type compatible with target*[3]. + // Standard layout type compatible with group_view's const target*[3]. // struct cli_cxx_members { - const_ptr h = nullptr; - const_ptr c = nullptr; - const_ptr i = nullptr; + const cxx::hxx* h = nullptr; + const cxx::cxx* c = nullptr; + const cxx::ixx* i = nullptr; }; class cli_cxx: public mtime_target, public cli_cxx_members @@ -41,14 +41,13 @@ namespace build2 using mtime_target::mtime_target; virtual group_view - group_members (action_type); - - virtual timestamp - load_mtime () const; + group_members (action_type) const override; public: static const target_type static_type; - virtual const target_type& dynamic_type () const {return static_type;} + + virtual const target_type& + dynamic_type () const override {return static_type;} }; } } -- cgit v1.1