diff options
author | gatecat <gatecat@ds0.me> | 2021-07-20 15:51:04 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-07-20 15:51:04 +0100 |
commit | 08bbe173cececbc1aac73937e58410039bc4dbc7 (patch) | |
tree | 31f4fd05e41d11a651eab8c7b30d591af2afb24e | |
parent | f3be638ea9536511d329d3e1ad726e847916f122 (diff) | |
download | nextpnr-08bbe173cececbc1aac73937e58410039bc4dbc7.tar.gz nextpnr-08bbe173cececbc1aac73937e58410039bc4dbc7.tar.bz2 nextpnr-08bbe173cececbc1aac73937e58410039bc4dbc7.zip |
Fix definition of an empty IdStringList
Signed-off-by: gatecat <gatecat@ds0.me>
-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){}; |