diff options
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r-- | src/buildtool/main/main.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index 878cfc50..293c8002 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -991,12 +991,11 @@ auto main(int argc, char* argv[]) -> int { // create progress tracker for export targets Progress exports_progress{}; - AnalyseContext analyse_ctx{ - .repo_config = &repo_config, - .target_cache = &Storage::Instance().TargetCache(), - .statistics = &stats, - .progress = &exports_progress, - .serve = serve ? &*serve : nullptr}; + AnalyseContext analyse_ctx{.repo_config = &repo_config, + .storage = &Storage::Instance(), + .statistics = &stats, + .progress = &exports_progress, + .serve = serve ? &*serve : nullptr}; auto result = AnalyseTarget(&analyse_ctx, id, |