mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-05 04:06:08 +00:00
AK: Return bool in JsonValue::as_bool()
This commit is contained in:
committed by
Brian Gianforcaro
parent
e5cf395a54
commit
e35709cbd2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user