diff options
author | asynts <asynts@gmail.com> | 2020-09-22 13:05:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-22 15:06:40 +0200 |
commit | 4fcdc19b146f8371f7d3b5b9972db667d3b3d563 (patch) | |
tree | a0c13537832d43ddf576bd0d68dc7fbcaeb64650 /AK/Format.h | |
parent | 7ba7b72736ecece784b87c51dae6405501071031 (diff) | |
download | serenity-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.h | 1 |
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 { |