From: Aki Van Ness Date: Thu, 18 Nov 2021 12:34:14 +0000 (-0500) Subject: pass metadata: fixed the MetadataWriter object initializer so GCC 4.8 is happy X-Git-Tag: smtlib2-expr-support-on-0.13-old~20 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f775586427860de8c7b58528cefc8f45b9c2f077;p=yosys.git pass metadata: fixed the MetadataWriter object initializer so GCC 4.8 is happy (cherry picked from commit 6a90b42c480a44296d7363577c50dbd578724625) --- diff --git a/backends/metadata/metadata.cc b/backends/metadata/metadata.cc index d5726d4d3..292329d62 100644 --- a/backends/metadata/metadata.cc +++ b/backends/metadata/metadata.cc @@ -69,7 +69,7 @@ struct MetadataWriter } public: - MetadataWriter(std::ostream &f, bool use_selection) noexcept: f{f}, _use_selection{use_selection} { } + MetadataWriter(std::ostream &f, bool use_selection) noexcept: f(f), _use_selection(use_selection) { } void write_metadata(Design *design) {