[#1418] engine: Do not use pointers as parameters

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-05-23 16:12:32 +03:00 committed by fyrchik
parent 6e752f36dc
commit babd382ba5
20 changed files with 134 additions and 119 deletions

View file

@ -12,7 +12,7 @@ type jobQueue struct {
}
func (q *jobQueue) Select(cursor *engine.Cursor, count uint32) ([]oid.Address, *engine.Cursor, error) {
prm := new(engine.ListWithCursorPrm)
var prm engine.ListWithCursorPrm
prm.WithCursor(cursor)
prm.WithCount(count)