diff options
author | gatecat <gatecat@ds0.me> | 2021-07-20 18:25:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 18:25:49 +0100 |
commit | 1a5bb7b8abdf3eab38223b108c1a77c9a6381e79 (patch) | |
tree | 62a92be0c57efd3d5803ac3a5dc3339fb6005dc9 | |
parent | ef08c4a91d6207629f795df199178c50be340653 (diff) | |
parent | 08bbe173cececbc1aac73937e58410039bc4dbc7 (diff) | |
download | nextpnr-1a5bb7b8abdf3eab38223b108c1a77c9a6381e79.tar.gz nextpnr-1a5bb7b8abdf3eab38223b108c1a77c9a6381e79.tar.bz2 nextpnr-1a5bb7b8abdf3eab38223b108c1a77c9a6381e79.zip |
Merge pull request #770 from YosysHQ/gatecat/empty-idstringlist
Fix definition of an empty IdStringList
-rw-r--r-- | common/idstringlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/idstringlist.h b/common/idstringlist.h index 4af9801a..fd57540b 100644 --- a/common/idstringlist.h +++ b/common/idstringlist.h @@ -35,7 +35,7 @@ struct IdStringList { SSOArray<IdString, 4> ids; - IdStringList(){}; + IdStringList() : ids(1, IdString()){}; explicit IdStringList(size_t n) : ids(n, IdString()){}; explicit IdStringList(IdString id) : ids(1, id){}; template <typename Tlist> explicit IdStringList(const Tlist &list) : ids(list){}; |