diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-08 09:24:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | 8aee78c8d0eb06334571e596f6fbdf7ed5756f0c (patch) | |
tree | 12899b0b09c8fcbaf3a1064b28db8f6161003cbe /build2/bin | |
parent | 5cefca444f7062c61cc9d118ffea5901e05186fd (diff) |
Tighten target constness further
Diffstat (limited to 'build2/bin')
-rw-r--r-- | build2/bin/target | 14 |
1 files changed, 9 insertions, 5 deletions
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<obje> e = nullptr; + const_ptr<obja> a = nullptr; + const_ptr<objs> 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<liba> a = nullptr; + const_ptr<libs> s = nullptr; virtual void reset (action_type) override; |