C++20 Port #5

Merged
kayomn merged 35 commits from cpp-port into main 2023-02-20 02:33:45 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit be0527dac8 - Show all commits

View File

@ -70,7 +70,7 @@ export namespace kym {
} }
core::expected<core::usize, core::io_error> default_stringify(vm & owning_vm, void * userdata, core::writable const & output) { core::expected<core::usize, core::io_error> default_stringify(vm & owning_vm, void * userdata, core::writable const & output) {
return output(core::slice("[object]").as_bytes()); return output(core::slice{"[object]"}.as_bytes());
} }
struct bound_object { struct bound_object {