From 07407adf40111a06e51779976b33595c5fb44815 Mon Sep 17 00:00:00 2001 From: Chris Wendt Date: Wed, 8 Jun 2022 02:45:15 -0600 Subject: Missing Operation type param in cmd/santa-example From https://github.com/anacrolix/stm/commit/6ce9dfc42c83a5d5963c23d85ffebffe0323432e --- cmd/santa-example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/santa-example/main.go b/cmd/santa-example/main.go index 72be64f..1a93ae4 100644 --- a/cmd/santa-example/main.go +++ b/cmd/santa-example/main.go @@ -137,7 +137,7 @@ type selection struct { gate1, gate2 gate } -func chooseGroup(g *group, task string, s *selection) stm.Operation { +func chooseGroup(g *group, task string, s *selection) stm.Operation[struct{}] { return stm.VoidOperation(func(tx *stm.Tx) { s.gate1, s.gate2 = g.await(tx) s.task = task -- cgit v1.2.3