Skip to content

Commit

Permalink
Merge pull request #50 from Geod24/preview_in
Browse files Browse the repository at this point in the history
Replace usages of 'in' with 'scope const'
  • Loading branch information
denizzzka authored Dec 6, 2022
2 parents 7d9f1c3 + a6a6357 commit a600a5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/vibe/db/postgresql/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class Dpq2Connection : dpq2.Connection
}

///
immutable(Answer) execStatement(in ref QueryParams params)
immutable(Answer) execStatement(scope const ref QueryParams params)
{
auto res = runStatementBlockingManner({ sendQueryParams(params); });

Expand All @@ -332,7 +332,7 @@ class Dpq2Connection : dpq2.Connection
}

/// Ditto
void execStatementRbR(in ref QueryParams params, void delegate(immutable(Row)) answerRowProcessDg)
void execStatementRbR(scope const ref QueryParams params, void delegate(immutable(Row)) answerRowProcessDg)
{
runStatementWithRowByRowResult(
{ sendQueryParams(params); },
Expand Down Expand Up @@ -377,7 +377,7 @@ class Dpq2Connection : dpq2.Connection
}

///
immutable(Answer) execPreparedStatement(in ref QueryParams params)
immutable(Answer) execPreparedStatement(scope const ref QueryParams params)
{
auto res = runStatementBlockingManner({ sendQueryPrepared(params); });

Expand Down

0 comments on commit a600a5d

Please sign in to comment.