From 3402230a5537d95ce26bf7fa0d33330823a59f08 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 1 Oct 2018 11:37:17 +0200 Subject: bug: use a value embedding for OpBase --- bug/op_set_title.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bug/op_set_title.go') diff --git a/bug/op_set_title.go b/bug/op_set_title.go index fd964a30..9c523a2c 100644 --- a/bug/op_set_title.go +++ b/bug/op_set_title.go @@ -12,13 +12,13 @@ var _ Operation = &SetTitleOperation{} // SetTitleOperation will change the title of a bug type SetTitleOperation struct { - *OpBase + OpBase Title string `json:"title"` Was string `json:"was"` } func (op *SetTitleOperation) base() *OpBase { - return op.OpBase + return &op.OpBase } func (op *SetTitleOperation) Hash() (git.Hash, error) { -- cgit