mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibSQL: Fix minor const-correctness issues
This commit is contained in:
parent
0cdd227e9b
commit
65710bf3f7
Notes:
sideshowbarker
2024-07-17 05:58:46 +09:00
Author: https://github.com/awesomekling
Commit: 65710bf3f7
Pull-request: https://github.com/SerenityOS/serenity/pull/17557
Reviewed-by: https://github.com/linusg
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue