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)
committerN. Engelhardt <nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000 (08:05 +0200)
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)
     {