summaryrefslogtreecommitdiff
path: root/AK/Format.h
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2020-09-22 13:05:40 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-22 15:06:40 +0200
commit4fcdc19b146f8371f7d3b5b9972db667d3b3d563 (patch)
treea0c13537832d43ddf576bd0d68dc7fbcaeb64650 /AK/Format.h
parent7ba7b72736ecece784b87c51dae6405501071031 (diff)
downloadserenity-4fcdc19b146f8371f7d3b5b9972db667d3b3d563.zip
AK: Remove strtoull dependency from format.
This function is not avaliable in the kernel. In the future it would be nice to have some sort of <charconv> header that does this for all integer types and then call it in strtoull and et cetera. The difference would be that this function say 'from_chars' would return an Optional and not just interpret anything invalid as zero.
Diffstat (limited to 'AK/Format.h')
-rw-r--r--AK/Format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/Format.h b/AK/Format.h
index def205f3aa..f71f05ad1f 100644
--- a/AK/Format.h
+++ b/AK/Format.h
@@ -28,6 +28,7 @@
#include <AK/Array.h>
#include <AK/String.h>
+#include <AK/StringView.h>
namespace AK {