mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Cleanup some string constructors. No functional change.
This commit is contained in:
+1
-1
@@ -1083,7 +1083,7 @@ private:
|
||||
nodep, "Argument for $display like statement is not constant");
|
||||
break;
|
||||
}
|
||||
const string pformat = string("%") + pos[0];
|
||||
const string pformat = std::string{"%"} + pos[0];
|
||||
result += constp->num().displayed(nodep, pformat);
|
||||
} else {
|
||||
switch (tolower(pos[0])) {
|
||||
|
||||
Reference in New Issue
Block a user