Skip to content

Commit

Permalink
Fix compilation of ftlSharedPtr with derived types
Browse files Browse the repository at this point in the history
  • Loading branch information
tootea committed Aug 21, 2019
1 parent 1dd1bb6 commit ae537ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ftlSharedPtr.F90_template
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ contains
class(CAT(ftlSharedPtr,FTL_TEMPLATE_TYPE_NAME)), intent(inout) :: self
type (CAT(ftlSharedPtr,FTL_TEMPLATE_TYPE_NAME)), intent(inout) :: other

FTL_TEMPLATE_TYPE, pointer :: tmpValue
integer , pointer :: tmpRefcount
FTL_TEMPLATE_TYPE_WRAP, pointer :: tmpValue
integer , pointer :: tmpRefcount

tmpValue => self%value
self%value => other%value
Expand Down

0 comments on commit ae537ca

Please sign in to comment.