From: whitequark Date: Tue, 2 Jun 2020 23:17:46 +0000 (+0000) Subject: techmap: use C++11 default member initializers. NFC. X-Git-Tag: working-ls180~514^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a74368bfc1d4fadaf9efb5eb28f9e706dfdf6c9;p=yosys.git techmap: use C++11 default member initializers. NFC. --- diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 0d7c10d0c..9227385b3 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -80,22 +80,12 @@ struct TechmapWorker typedef dict> TechmapWires; - bool extern_mode; - bool assert_mode; - bool flatten_mode; - bool recursive_mode; - bool autoproc_mode; - bool ignore_wb; - - TechmapWorker() - { - extern_mode = false; - assert_mode = false; - flatten_mode = false; - recursive_mode = false; - autoproc_mode = false; - ignore_wb = false; - } + bool extern_mode = false; + bool assert_mode = false; + bool flatten_mode = false; + bool recursive_mode = false; + bool autoproc_mode = false; + bool ignore_wb = false; std::string constmap_tpl_name(SigMap &sigmap, RTLIL::Module *tpl, RTLIL::Cell *cell, bool verbose) {