mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-26 22:03:35 -06:00
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:
parent
313a4b1d90
commit
9293ed2be0
41 changed files with 99 additions and 99 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue