mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Return bool
in JsonValue::as_bool()
This commit is contained in:
parent
e5cf395a54
commit
e35709cbd2
Notes:
sideshowbarker
2024-07-17 22:44:46 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/e35709cbd2e Pull-request: https://github.com/SerenityOS/serenity/pull/11268 Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public:
|
|||
return m_value.as_u64;
|
||||
}
|
||||
|
||||
int as_bool() const
|
||||
bool as_bool() const
|
||||
{
|
||||
VERIFY(is_bool());
|
||||
return m_value.as_bool;
|
||||
|
|
Loading…
Reference in a new issue