mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 06:43:14 +02:00
Internals: Cleanup some string constructors. No functional change.
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ private:
|
||||
}
|
||||
virtual void visit(AstScopeName* nodep) override {
|
||||
// If there's a %m in the display text, we add a special node that will contain the name()
|
||||
const string prefix = string("__DOT__") + m_scopep->name();
|
||||
const string prefix = std::string{"__DOT__"} + m_scopep->name();
|
||||
// TOP and above will be the user's name().
|
||||
// Note 'TOP.' is stripped by scopePrettyName
|
||||
// To keep correct visual order, must add before other Text's
|
||||
|
||||
Reference in New Issue
Block a user