mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix C++20 compilation errors (#4670)
This commit is contained in:
@@ -292,11 +292,11 @@ class ExtractCyclicComponents final {
|
||||
|
||||
// Visit all neighbors. We stop at variable boundaries,
|
||||
// which is where we will split the graphs
|
||||
vtx.forEachSource([=](DfgVertex& other) {
|
||||
vtx.forEachSource([this, targetComponent](DfgVertex& other) {
|
||||
if (other.is<DfgVertexVar>()) return;
|
||||
visitMergeSCCs(other, targetComponent);
|
||||
});
|
||||
vtx.forEachSink([=](DfgVertex& other) {
|
||||
vtx.forEachSink([this, targetComponent](DfgVertex& other) {
|
||||
if (other.is<DfgVertexVar>()) return;
|
||||
visitMergeSCCs(other, targetComponent);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user