You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Replace append_utfx with direct String::utfx
This commit is contained in:
@@ -309,8 +309,7 @@ void test(TestType p_type) {
|
||||
fa->get_buffer(buf.ptrw(), flen);
|
||||
buf.write[flen] = 0;
|
||||
|
||||
String code;
|
||||
code.append_utf8((const char *)&buf[0]);
|
||||
String code = String::utf8((const char *)&buf[0]);
|
||||
|
||||
Vector<String> lines;
|
||||
int last = 0;
|
||||
|
||||
Reference in New Issue
Block a user