AK: Return bool in JsonValue::as_bool()

This commit is contained in:
Hendiadyoin1 2021-12-15 14:47:26 +01:00 committed by Brian Gianforcaro
parent e5cf395a54
commit e35709cbd2
Notes: sideshowbarker 2024-07-17 22:44:46 +09:00

View file

@ -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;