Skip to content

Commit eb53b70

Browse files
committed
remove unnecessary functions
1 parent 369eabd commit eb53b70

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

problem037/problem037.go

-8
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ func (thisSet *SetOfSet) add(value *Set) *SetOfSet {
6767
return thisSet
6868
}
6969

70-
func (thisSet *SetOfSet) copy() *SetOfSet {
71-
cloneSetOfSet := make(SetOfSet)
72-
for value := range *thisSet {
73-
cloneSetOfSet.add(value.copy())
74-
}
75-
return &cloneSetOfSet
76-
}
77-
7870
func (thisSet *SetOfSet) has(value *Set) bool {
7971
for element := range *thisSet {
8072
if element.equal(value) {

0 commit comments

Comments
 (0)