From 94cdc7033f01de32dfae5f3aa1a7fd54fa4d188a Mon Sep 17 00:00:00 2001 From: Johannes Tax Date: Thu, 23 Jul 2020 09:52:06 -0700 Subject: [PATCH] Use gcc-4.8 for GHA legacy tests (#207) --- .github/workflows/ci.yml | 2 ++ exporters/ostream/src/span_exporter.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5d36c4a616..262319a7b1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,8 @@ jobs: sudo ./ci/install_gcc48.sh - name: run tests run: ./ci/do_ci.sh bazel.legacy.test + env: + CC: /usr/bin/gcc-4.8 bazel_test: name: Bazel diff --git a/exporters/ostream/src/span_exporter.cc b/exporters/ostream/src/span_exporter.cc index fe7cb076d8a..7e2e4237ab2 100644 --- a/exporters/ostream/src/span_exporter.cc +++ b/exporters/ostream/src/span_exporter.cc @@ -11,7 +11,7 @@ namespace exporter namespace trace { OStreamSpanExporter::OStreamSpanExporter(std::ostream &sout) noexcept - : sout_{sout} {} + : sout_(sout) {} std::unique_ptr OStreamSpanExporter::MakeRecordable() noexcept {