Internals: Cleanup string casts. No functional change.

This commit is contained in:
Wilson Snyder
2018-10-13 22:02:39 -04:00
parent bccb9f794c
commit e4d638c73d
25 changed files with 45 additions and 45 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ private:
}
virtual void visit(AstScopeName* nodep) {
// If there's a %m in the display text, we add a special node that will contain the name()
string prefix = (string)("__DOT__")+m_scopep->name();
string prefix = 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