From 4b6e764c462047561ddc32b0638c21d773a4fbe4 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 26 Jan 2021 17:42:23 +0000 Subject: cxxrtl: do not use `->template` for non-dependent names. This breaks build on MSVC but not GCC/Clang. --- backends/cxxrtl/cxxrtl_vcd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/cxxrtl/cxxrtl_vcd.h') diff --git a/backends/cxxrtl/cxxrtl_vcd.h b/backends/cxxrtl/cxxrtl_vcd.h index 6ee98b428..3f40a8d12 100644 --- a/backends/cxxrtl/cxxrtl_vcd.h +++ b/backends/cxxrtl/cxxrtl_vcd.h @@ -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; }); } -- cgit v1.2.3