pass metadata: fixed the MetadataWriter object initializer so GCC 4.8 is happy
authorAki Van Ness <aki@yosyshq.com>
Thu, 18 Nov 2021 12:34:14 +0000 (07:34 -0500)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 26 May 2022 02:36:44 +0000 (19:36 -0700)
(cherry picked from commit 6a90b42c480a44296d7363577c50dbd578724625)

backends/metadata/metadata.cc

index d5726d4d3006cd3e313a5be7b5691c7108cc6f15..292329d6277500a16e5d42cc7c54659d916bda0d 100644 (file)
@@ -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)
     {