mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 06:53:38 +02:00
Internals: Use C++14 quoted literal std::string
This commit is contained in:
+1
-1
@@ -240,7 +240,7 @@ class TraceDeclVisitor final : public VNVisitor {
|
||||
|
||||
void addIgnore(const char* why) {
|
||||
++m_statIgnSigs;
|
||||
std::string cmt = std::string{"Tracing: "} + m_traName + " // Ignored: " + why;
|
||||
std::string cmt = "Tracing: "s + m_traName + " // Ignored: " + why;
|
||||
if (debug() > 3 && m_traVscp) std::cout << "- " << m_traVscp->fileline() << cmt << endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user