mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
UTF32 build fix.
This commit is contained in:
parent
95f536383f
commit
8bbe42c4e2
1 changed files with 4 additions and 4 deletions
|
|
@ -629,11 +629,11 @@ struct CppTokeniserFunctions
|
|||
|
||||
@see writeEscapeChars
|
||||
*/
|
||||
static String addEscapeChars (StringRef s)
|
||||
static String addEscapeChars (const String& s)
|
||||
{
|
||||
MemoryOutputStream out;
|
||||
writeEscapeChars (out, s.text, -1, -1, false, true, true);
|
||||
return out.toUTF8();
|
||||
MemoryOutputStream mo;
|
||||
writeEscapeChars (mo, s.toRawUTF8(), -1, -1, false, true, true);
|
||||
return mo.toString();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue