summaryrefslogtreecommitdiff
path: root/AK/StringBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/StringBuilder.h')
-rw-r--r--AK/StringBuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/StringBuilder.h b/AK/StringBuilder.h
index e5c62cb4d0..9bde5b102d 100644
--- a/AK/StringBuilder.h
+++ b/AK/StringBuilder.h
@@ -62,7 +62,9 @@ public:
#ifndef KERNEL
[[nodiscard]] DeprecatedString build() const;
[[nodiscard]] DeprecatedString to_deprecated_string() const;
+ ErrorOr<String> to_string() const;
#endif
+
[[nodiscard]] ByteBuffer to_byte_buffer() const;
[[nodiscard]] StringView string_view() const;