mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Everywhere: Convert known short-strings to the infallible String factory
For now, this is limited to strings that are 3 bytes or less. We can use 7 bytes on 64-bit platforms, but we do not yet assume 64-bit for Lagom hosts (e.g. wasm).
This commit is contained in:
parent
d48266a420
commit
f1de4f8872
7 changed files with 7 additions and 7 deletions
|
@ -24,7 +24,7 @@ ErrorOr<void> Shader::add_source(StringView source_code)
|
|||
|
||||
ErrorOr<void> Shader::compile()
|
||||
{
|
||||
m_info_log = TRY(String::from_utf8(""sv));
|
||||
m_info_log = String {};
|
||||
|
||||
GLSL::Compiler compiler;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue