Internals: add const

This commit is contained in:
Wilson Snyder 2023-02-26 12:21:17 -05:00
parent b039f246df
commit 9bf0e54937

View File

@ -5497,7 +5497,7 @@ private:
} else { } else {
userIterateChildren(nodep, WidthVP{SELF, BOTH}.p()); userIterateChildren(nodep, WidthVP{SELF, BOTH}.p());
if (nodep->edgeType().anEdge()) { if (nodep->edgeType().anEdge()) {
AstNodeDType* sensDtp = nodep->sensp()->dtypep()->skipRefp(); AstNodeDType* const sensDtp = nodep->sensp()->dtypep()->skipRefp();
if (sensDtp->isDouble()) { if (sensDtp->isDouble()) {
nodep->sensp()->v3error( nodep->sensp()->v3error(
"Edge event control not legal on real type (IEEE 1800-2017 6.12.1)"); "Edge event control not legal on real type (IEEE 1800-2017 6.12.1)");