mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
Everywhere: Use ReadonlySpan<T> instead of Span<T const>
This commit is contained in:
parent
1c92e6ee9d
commit
63b11030f0
102 changed files with 206 additions and 206 deletions
|
@ -301,7 +301,7 @@ private:
|
|||
struct ExecutionContext {
|
||||
NonnullRefPtr<Database> database;
|
||||
Statement const* statement { nullptr };
|
||||
Span<Value const> placeholder_values {};
|
||||
ReadonlySpan<Value> placeholder_values {};
|
||||
Tuple* current_row { nullptr };
|
||||
};
|
||||
|
||||
|
@ -760,7 +760,7 @@ private:
|
|||
|
||||
class Statement : public ASTNode {
|
||||
public:
|
||||
ResultOr<ResultSet> execute(AK::NonnullRefPtr<Database> database, Span<Value const> placeholder_values = {}) const;
|
||||
ResultOr<ResultSet> execute(AK::NonnullRefPtr<Database> database, ReadonlySpan<Value> placeholder_values = {}) const;
|
||||
|
||||
virtual ResultOr<ResultSet> execute(ExecutionContext&) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue