mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 01:55:07 +00:00
AK: Return bool
in JsonValue::as_bool()
This commit is contained in:
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;
|
||||
|
|
Loading…
Reference in a new issue