aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/operation.go
diff options
context:
space:
mode:
Diffstat (limited to 'entities/bug/operation.go')
-rw-r--r--entities/bug/operation.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/entities/bug/operation.go b/entities/bug/operation.go
index 41d80700..04365046 100644
--- a/entities/bug/operation.go
+++ b/entities/bug/operation.go
@@ -21,12 +21,7 @@ const (
)
// Operation define the interface to fulfill for an edit operation of a Bug
-type Operation interface {
- dag.Operation
-
- // Apply the operation to a Snapshot to create the final state
- Apply(snapshot *Snapshot)
-}
+type Operation = dag.OperationWithApply[*Snapshot]
// make sure that package external operations do conform to our interface
var _ Operation = &dag.NoOpOperation[*Snapshot]{}