diff options
author | asynts <asynts@gmail.com> | 2020-07-27 14:16:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-27 19:58:09 +0200 |
commit | abe925e4b08fca8eaac4d3e63508cbb9ff5c1733 (patch) | |
tree | dfd4e9bcc2edb1ced4542df0727dad39ae1f85e5 /Userland | |
parent | 5fa0fdb2192cea73fb9e19c720693d91ef944101 (diff) | |
download | serenity-abe925e4b08fca8eaac4d3e63508cbb9ff5c1733.zip |
AK: Change the signature of AK::encode_base64() to use Span.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/base64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/base64.cpp b/Userland/base64.cpp index 0af7a684a4..a91275a0c8 100644 --- a/Userland/base64.cpp +++ b/Userland/base64.cpp @@ -75,6 +75,6 @@ int main(int argc, char** argv) return 0; } - auto encoded = encode_base64(buffer); + auto encoded = encode_base64(buffer.span()); printf("%s\n", encoded.characters()); } |