From 8aee78c8d0eb06334571e596f6fbdf7ed5756f0c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Feb 2017 09:24:07 +0200 Subject: Tighten target constness further --- build2/bin/target | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'build2/bin/target') diff --git a/build2/bin/target b/build2/bin/target index 85a84df..0108f09 100644 --- a/build2/bin/target +++ b/build2/bin/target @@ -51,9 +51,11 @@ namespace build2 public: using target::target; - obje* e {nullptr}; - obja* a {nullptr}; - objs* s {nullptr}; + // Group members. + // + const_ptr e = nullptr; + const_ptr a = nullptr; + const_ptr s = nullptr; public: static const target_type static_type; @@ -87,8 +89,10 @@ namespace build2 public: using target::target; - liba* a {nullptr}; - libs* s {nullptr}; + // Group members. + // + const_ptr a = nullptr; + const_ptr s = nullptr; virtual void reset (action_type) override; -- cgit v1.1