Use compiler-generated default constructor for RTLIL::Const::Const
authorHenner Zeller <h.zeller@acm.org>
Mon, 6 Jun 2022 20:03:47 +0000 (13:03 -0700)
committerLofty <dan.ravensloft@gmail.com>
Thu, 9 Jun 2022 15:07:45 +0000 (16:07 +0100)
commit9c41b431917fe623b81e0120b1e7cb119f710b78
treea31cb6741b653ff82d28e3481be0ce0aee4ebd37
parent9d41aa8e2888577fc2a57179b8d4a9a3a4e03f59
Use compiler-generated default constructor for RTLIL::Const::Const

No need for a manual implementation.
While at it: have the constructor that takes a string take a
const string reference instead to avoid a copy.
kernel/rtlil.cc
kernel/rtlil.h