1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:47:45 +00:00

LibJS: Convert to_u8() to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-17 23:49:41 +03:00
parent 1b7dbb6b3b
commit 99287afc99
3 changed files with 4 additions and 4 deletions

View file

@ -320,7 +320,7 @@ public:
ThrowCompletionOr<i16> to_i16(GlobalObject&) const;
ThrowCompletionOr<u16> to_u16(GlobalObject&) const;
ThrowCompletionOr<i8> to_i8(GlobalObject&) const;
u8 to_u8(GlobalObject&) const;
ThrowCompletionOr<u8> to_u8(GlobalObject&) const;
u8 to_u8_clamp(GlobalObject&) const;
size_t to_length(GlobalObject&) const;
size_t to_index(GlobalObject&) const;