tweak StringOutputStream use

auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
This commit is contained in:
Garux
2024-01-29 16:54:08 +06:00
parent b4e44bc8ed
commit df02774ff5
122 changed files with 984 additions and 1204 deletions

View File

@@ -109,7 +109,7 @@ class ScriptTokeniser final : public Tokeniser
{
case eNewline:
if ( !m_crossline ) {
globalErrorStream() << getLine() << ":" << getColumn() << ": unexpected end-of-line before token\n";
globalErrorStream() << getLine() << ':' << getColumn() << ": unexpected end-of-line before token\n";
return false;
}
break;
@@ -162,7 +162,7 @@ class ScriptTokeniser final : public Tokeniser
{
case eNewline:
if ( m_crossline ) {
globalErrorStream() << getLine() << ":" << getColumn() << ": unexpected end-of-line in quoted token\n";
globalErrorStream() << getLine() << ':' << getColumn() << ": unexpected end-of-line in quoted token\n";
return false;
}
break;