mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Favor {} constructor syntax. No functional change intended.
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
nm = "nul"; // LCOV_EXCL_LINE
|
||||
} else {
|
||||
nm = logicp()->name();
|
||||
nm += (string("\\nMV:") + " d=" + cvtToHex(logicp()->domainp())
|
||||
nm += (string{"\\nMV:"} + " d=" + cvtToHex(logicp()->domainp())
|
||||
+ " s=" + cvtToHex(logicp()->scopep()));
|
||||
}
|
||||
return nm;
|
||||
@@ -127,7 +127,7 @@ public:
|
||||
string nm;
|
||||
if (logicp()) {
|
||||
nm = logicp()->name();
|
||||
nm += (string("\\nMV:") + " d=" + cvtToHex(logicp()->domainp()) + " s="
|
||||
nm += (string{"\\nMV:"} + " d=" + cvtToHex(logicp()->domainp()) + " s="
|
||||
+ cvtToHex(logicp()->scopep())
|
||||
// "color()" represents the mtask ID.
|
||||
+ "\\nt=" + cvtToStr(color()));
|
||||
|
||||
Reference in New Issue
Block a user