mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +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
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