From: William Speirs Date: Tue, 14 Oct 2014 21:10:53 +0000 (-0400) Subject: Wrapped init in std::set constructor X-Git-Tag: yosys-0.4~52^2~6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6433203b39f830a5c0d80347f14ab341ef3921ce;p=yosys.git Wrapped init in std::set constructor --- diff --git a/passes/opt/wreduce.cc b/passes/opt/wreduce.cc index 89b1f8856..8f59a041e 100644 --- a/passes/opt/wreduce.cc +++ b/passes/opt/wreduce.cc @@ -32,14 +32,14 @@ struct WreduceConfig WreduceConfig() { - supported_cell_types = { + supported_cell_types = std::set({ "$not", "$pos", "$neg", "$and", "$or", "$xor", "$xnor", "$shl", "$shr", "$sshl", "$sshr", "$shift", "$shiftx", "$lt", "$le", "$eq", "$ne", "$eqx", "$nex", "$ge", "$gt", "$add", "$sub", // "$mul", "$div", "$mod", "$pow", "$mux", "$pmux" - }; + }); } };