uppsrc: Visual C++ compiler bug [W]StringBuffer workaround

git-svn-id: svn://ultimatepp.org/upp/trunk@15123 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-09-23 09:37:31 +00:00
parent 313a4b1d90
commit 9293ed2be0
41 changed files with 99 additions and 99 deletions

View file

@ -100,7 +100,7 @@ String Cpp::Expand(const char *s)
prefix_macro = bid;
else
prefix_macro = String(' ', 1) + bid; // do not want to emit grounding in body
return r;
return String(r);
}
else
if(*s == '\"' || *s == '\'')
@ -147,7 +147,7 @@ String Cpp::Expand(const char *s)
else
r.Cat(*s++);
}
return r;
return String(r);
}
void Cpp::DoFlatInclude(const String& header_path)