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

LibSQL: Fix minor const-correctness issues

This commit is contained in:
Andreas Kling 2023-02-19 23:22:46 +01:00
parent 0cdd227e9b
commit 65710bf3f7
3 changed files with 5 additions and 5 deletions

View file

@ -170,7 +170,7 @@ ResultOr<NonnullRefPtr<TableDef>> Database::get_table(DeprecatedString const& sc
return table_def;
}
ErrorOr<Vector<Row>> Database::select_all(TableDef const& table)
ErrorOr<Vector<Row>> Database::select_all(TableDef& table)
{
VERIFY(m_table_cache.get(table.key().hash()).has_value());
Vector<Row> ret;
@ -180,7 +180,7 @@ ErrorOr<Vector<Row>> Database::select_all(TableDef const& table)
return ret;
}
ErrorOr<Vector<Row>> Database::match(TableDef const& table, Key const& key)
ErrorOr<Vector<Row>> Database::match(TableDef& table, Key const& key)
{
VERIFY(m_table_cache.get(table.key().hash()).has_value());
Vector<Row> ret;