diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-16 09:43:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-16 09:43:38 +0200 |
commit | 630dc4ccf3207f7cdd5b410582e1e572081b80e8 (patch) | |
tree | dc6b4dfb5608799fc63f4f1b6f6fceee8530cb0c /build2/config | |
parent | b3df2f69ff340e2c5c6d215bea6689594f0a3d80 (diff) |
Add support for structured result output (--structured-result)
Diffstat (limited to 'build2/config')
-rw-r--r-- | build2/config/operation.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx index 64919f8..c5de54f 100644 --- a/build2/config/operation.cxx +++ b/build2/config/operation.cxx @@ -369,9 +369,9 @@ namespace build2 // target-specific. However, inside match(), things can proceed in // parallel. // - for (const void* v: ts) + for (const action_target& at: ts) { - const target& t (*static_cast<const target*> (v)); + const target& t (at.as_target ()); const scope* rs (t.base_scope ().root_scope ()); if (rs == nullptr) @@ -600,9 +600,9 @@ namespace build2 // Note: doing everything in the load phase (disfigure_project () does // modify the model). // - for (const void* v: ts) + for (const action_target& at: ts) { - const scope& root (*static_cast<const scope*> (v)); + const scope& root (*static_cast<const scope*> (at.target)); if (!disfigure_project (a, root, projects)) { |