mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Use C++14 quoted literal std::string
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ string V3ErrorGuarded::warnMore() VL_REQUIRES(m_mutex) { return string(msgPrefix
|
||||
|
||||
void V3ErrorGuarded::suppressThisWarning() VL_REQUIRES(m_mutex) {
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
V3Stats::addStatSum(std::string{"Warnings, Suppressed "} + errorCode().ascii(), 1);
|
||||
V3Stats::addStatSum("Warnings, Suppressed "s + errorCode().ascii(), 1);
|
||||
#endif
|
||||
errorSuppressed(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user