mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Add rvalue-reference-accepting entry_t
constructor for pool
.
This commit is contained in:
parent
95b94ad19b
commit
ecaa892e35
1 changed files with 1 additions and 0 deletions
|
@ -642,6 +642,7 @@ protected:
|
|||
|
||||
entry_t() { }
|
||||
entry_t(const K &udata, int next) : udata(udata), next(next) { }
|
||||
entry_t(K &&udata, int next) : udata(std::move(udata)), next(next) { }
|
||||
};
|
||||
|
||||
std::vector<int> hashtable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue