mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02: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:
committed by
Linus Groh
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;
|
||||
|
||||
Reference in New Issue
Block a user