mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-10 09:48:06 +00:00
Make the Const string constructor take the string by value and move it into the const
This commit is contained in:
parent
7719beb4ae
commit
6b43fca8df
2 changed files with 3 additions and 3 deletions
|
@ -859,7 +859,7 @@ private:
|
|||
|
||||
public:
|
||||
Const() : flags(RTLIL::CONST_FLAG_NONE), tag(backing_tag::bits), bits_(std::vector<RTLIL::State>()) {}
|
||||
Const(const std::string &str);
|
||||
Const(std::string str);
|
||||
Const(long long val); // default width is 32
|
||||
Const(long long val, int width);
|
||||
Const(RTLIL::State bit, int width = 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue