1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:17:36 +00:00

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

View file

@ -131,7 +131,7 @@ public:
return m_value.as_u64; return m_value.as_u64;
} }
int as_bool() const bool as_bool() const
{ {
VERIFY(is_bool()); VERIFY(is_bool());
return m_value.as_bool; return m_value.as_bool;