From d4a98d6461e9dc48200623dc8c45a6f35586f8ad Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 6 Jan 2025 17:23:28 +0200 Subject: Make buildable with GCC 8.3 --- mod/mod-ci-github-service-data.cxx | 9 ++++++++- mod/mod-ci-github.cxx | 13 ++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'mod') diff --git a/mod/mod-ci-github-service-data.cxx b/mod/mod-ci-github-service-data.cxx index 9f66a6c..4598302 100644 --- a/mod/mod-ci-github-service-data.cxx +++ b/mod/mod-ci-github-service-data.cxx @@ -113,7 +113,14 @@ namespace brep } } - check_runs.emplace_back (move (bid), move (nm), move (nid), s, ss, rs); + check_runs.push_back ( + check_run {move (bid), + move (nm), + move (nid), + s, + ss, + rs, + nullopt /* details_url */}); p.next_expect (event::end_object); } diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 25c238e..44de247 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -2263,11 +2263,14 @@ namespace brep // bs.push_back (b); - crs.emplace_back (move (bid), - gh_check_run_name (b, &hs), - nullopt, /* node_id */ - build_state::queued, - false /* state_synced */); + crs.push_back ( + check_run {move (bid), + gh_check_run_name (b, &hs), + nullopt, /* node_id */ + build_state::queued, + false /* state_synced */, + nullopt /* status */, + nullopt /* details_url */}); } } -- cgit v1.1