mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +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
|
@ -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…
Reference in a new issue