Skip to content

Commit 02b1632

Browse files
committed
refac(shallow_t):rm unnecessary defined assignment
1 parent ced71f9 commit 02b1632

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/shallow_m.f90

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ module shallow_m
88
type, extends(ref_reference_t) :: shallow_t
99
integer, pointer :: ref => null()
1010
contains
11-
procedure :: shallow_copy
12-
generic :: assignment(=) => shallow_copy
1311
procedure :: free
1412
end type
1513

@@ -37,10 +35,4 @@ subroutine free(self)
3735
resource_freed = .true.
3836
end subroutine
3937

40-
subroutine shallow_copy(lhs, rhs)
41-
class(shallow_t), intent(inout) :: lhs
42-
type(shallow_t), intent(in) :: rhs
43-
lhs%ref => rhs%ref
44-
end subroutine
45-
4638
end module

0 commit comments

Comments
 (0)