3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-21 21:33:40 +00:00

cxxrtl: do not use ->template for non-dependent names.

This breaks build on MSVC but not GCC/Clang.
This commit is contained in:
whitequark 2021-01-26 17:42:23 +00:00
parent 8eaeaa8434
commit 4b6e764c46
2 changed files with 10 additions and 10 deletions

View file

@ -228,13 +228,13 @@ public:
}
void add(const debug_items &items) {
this->template add(items, [](const std::string &, const debug_item &) {
this->add(items, [](const std::string &, const debug_item &) {
return true;
});
}
void add_without_memories(const debug_items &items) {
this->template add(items, [](const std::string &, const debug_item &item) {
this->add(items, [](const std::string &, const debug_item &item) {
return item.type != debug_item::MEMORY;
});
}