mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Use C++14 quoted literal std::string
This commit is contained in:
+1
-1
@@ -851,7 +851,7 @@ string V3Number::toDecimalS() const VL_MT_STABLE {
|
||||
if (isNegative()) {
|
||||
V3Number lhsNoSign = *this;
|
||||
lhsNoSign.opNegate(*this);
|
||||
return std::string{"-"} + lhsNoSign.toDecimalU();
|
||||
return "-"s + lhsNoSign.toDecimalU();
|
||||
} else {
|
||||
return toDecimalU();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user