aboutsummaryrefslogtreecommitdiff
path: root/build/cli/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-01 17:37:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-01 17:37:23 +0200
commit455ad2bf70eb0a6e29c8c7179e1c40c18bd8ee2f (patch)
tree98de78e1abf2180d7bc5c18ddf589d8edc30af41 /build/cli/target.cxx
parente4c4fec8c9097722ee5ee94f2ce5ad0313ed8d7b (diff)
Get rid of accessors/modifiers in cli.cxx target
Diffstat (limited to 'build/cli/target.cxx')
-rw-r--r--build/cli/target.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/cli/target.cxx b/build/cli/target.cxx
index 2f8b54c..95198e1 100644
--- a/build/cli/target.cxx
+++ b/build/cli/target.cxx
@@ -32,8 +32,8 @@ namespace build
group_view cli_cxx::
group_members (action) const
{
- return m[0] != nullptr
- ? group_view {m, (m[2] != nullptr ? 3U : 2U)}
+ return h != nullptr
+ ? group_view {m, (i != nullptr ? 3U : 2U)}
: group_view {nullptr, 0};
}
@@ -43,7 +43,7 @@ namespace build
// The rule has been matched which means the members should
// be resolved and paths assigned.
//
- return file_mtime (h ()->path ());
+ return file_mtime (h->path ());
}
const target_type cli_cxx::static_type