diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2025-01-06 17:23:28 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2025-01-06 17:23:28 +0200 |
commit | d4a98d6461e9dc48200623dc8c45a6f35586f8ad (patch) | |
tree | 89ee468fb7fae71105c9c100fb7c569bd096ccda | |
parent | 95f949abe777f8e0fd481617ea64768a7e3ec37c (diff) |
Make buildable with GCC 8.3
-rw-r--r-- | mod/mod-ci-github-service-data.cxx | 9 | ||||
-rw-r--r-- | mod/mod-ci-github.cxx | 13 |
2 files changed, 16 insertions, 6 deletions
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 */}); } } |