mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
AK: Allow the kernel to have access to StringBuilder::to_string
This is mostly to prevent String.h from acquiring ifdef-soup. In any case, it's fine for the kernel to see this symbol as it is fallible.
This commit is contained in:
parent
0d722b4111
commit
79aaa2fe0f
1 changed files with 2 additions and 1 deletions
|
@ -63,9 +63,10 @@ public:
|
|||
|
||||
#ifndef KERNEL
|
||||
[[nodiscard]] DeprecatedString to_deprecated_string() const;
|
||||
ErrorOr<String> to_string() const;
|
||||
#endif
|
||||
|
||||
ErrorOr<String> to_string() const;
|
||||
|
||||
[[nodiscard]] ByteBuffer to_byte_buffer() const;
|
||||
|
||||
[[nodiscard]] StringView string_view() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue