1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 20:17:42 +00:00

LibSQL: Add missing definition of Value's u32 comparator

This was declared but not defined (nor was it used, but an upcoming
commit will be using it).
This commit is contained in:
Timothy Flynn 2022-11-28 07:45:51 -05:00 committed by Linus Groh
parent 47dd1b9f8b
commit 7464dfa974

View file

@ -415,6 +415,11 @@ bool Value::operator==(int value) const
return to_int() == value; return to_int() == value;
} }
bool Value::operator==(u32 value) const
{
return to_u32() == value;
}
bool Value::operator==(double value) const bool Value::operator==(double value) const
{ {
return to_double() == value; return to_double() == value;