mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibSQL: Remove unnecessary values from the ENUMERATE_SQL_TYPES macro
Removing the bitmask-esque values from the enumeration necessitates a Heap version bump.
This commit is contained in:
parent
b5fd96b7ac
commit
264db4fc40
Notes:
sideshowbarker
2024-07-17 03:15:23 +09:00
Author: https://github.com/trflynn89
Commit: 264db4fc40
Pull-request: https://github.com/SerenityOS/serenity/pull/16427
Reviewed-by: https://github.com/davidot ✅
3 changed files with 16 additions and 27 deletions
|
@ -92,8 +92,8 @@ StringView Value::type_name() const
|
|||
{
|
||||
switch (type()) {
|
||||
#undef __ENUMERATE_SQL_TYPE
|
||||
#define __ENUMERATE_SQL_TYPE(name, cardinal, type, impl, size) \
|
||||
case SQLType::type: \
|
||||
#define __ENUMERATE_SQL_TYPE(name, type) \
|
||||
case SQLType::type: \
|
||||
return name##sv;
|
||||
ENUMERATE_SQL_TYPES(__ENUMERATE_SQL_TYPE)
|
||||
#undef __ENUMERATE_SQL_TYPE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue