mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: Use C++14 quoted literal std::string
This commit is contained in:
+1
-1
@@ -203,7 +203,7 @@ string FileLine::xmlDetailedLocation() const {
|
||||
}
|
||||
|
||||
string FileLine::lineDirectiveStrg(int enterExit) const {
|
||||
return std::string{"`line "} + cvtToStr(lastLineno()) + " \""
|
||||
return "`line "s + cvtToStr(lastLineno()) + " \""
|
||||
+ V3OutFormatter::quoteNameControls(filename()) + "\" " + cvtToStr(enterExit) + "\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user