From 630dc4ccf3207f7cdd5b410582e1e572081b80e8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 16 Dec 2017 09:43:38 +0200 Subject: Add support for structured result output (--structured-result) --- build2/config/operation.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build2/config') 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 (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 (v)); + const scope& root (*static_cast (at.target)); if (!disfigure_project (a, root, projects)) { -- cgit v1.1