mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +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:
parent
47dd1b9f8b
commit
7464dfa974
Notes:
sideshowbarker
2024-07-17 06:24:08 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/7464dfa974 Pull-request: https://github.com/SerenityOS/serenity/pull/16239 Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/linusg
|
@ -415,6 +415,11 @@ bool Value::operator==(int value) const
|
|||
return to_int() == value;
|
||||
}
|
||||
|
||||
bool Value::operator==(u32 value) const
|
||||
{
|
||||
return to_u32() == value;
|
||||
}
|
||||
|
||||
bool Value::operator==(double value) const
|
||||
{
|
||||
return to_double() == value;
|
||||
|
|
Loading…
Reference in a new issue