mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Add const. No functional change.
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ private:
|
||||
|
||||
// Prepare a temporary variable
|
||||
FileLine* fl = backp->fileline();
|
||||
string name = string("__Vincrement") + cvtToStr(++m_modIncrementsNum);
|
||||
const string name = string("__Vincrement") + cvtToStr(++m_modIncrementsNum);
|
||||
AstVar* varp = new AstVar(fl, AstVarType::BLOCKTEMP, name, VFlagChildDType(),
|
||||
varrefp->varp()->subDTypep()->cloneTree(true));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user