Internals: Cleanup some string/model constructors. No functional change.

This commit is contained in:
Wilson Snyder
2022-08-29 23:50:32 -04:00
parent 8658a0d7dc
commit 6a5f77b278
42 changed files with 73 additions and 69 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ string FileLine::xmlDetailedLocation() const {
}
string FileLine::lineDirectiveStrg(int enterExit) const {
return std::string("`line ") + cvtToStr(lastLineno()) + " \"" + filename() + "\" "
return std::string{"`line "} + cvtToStr(lastLineno()) + " \"" + filename() + "\" "
+ cvtToStr(enterExit) + "\n";
}