3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Fixed cstr_buf for std::string with small string optimization

This commit is contained in:
Clifford Wolf 2015-06-11 13:39:49 +02:00
parent 3a6abc9bf6
commit 4c733301e6
6 changed files with 16 additions and 5 deletions

View file

@ -61,7 +61,7 @@ struct BlifDumper
{
}
std::vector<std::string> cstr_buf;
vector<shared_str> cstr_buf;
const char *cstr(RTLIL::IdString id)
{

View file

@ -155,7 +155,7 @@ struct BtorDumper
}
std::vector<std::string> cstr_buf;
vector<shared_str> cstr_buf;
const char *cstr(const RTLIL::IdString id)
{