Skip to content

Commit

Permalink
Not use generic
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Mar 10, 2024
1 parent 2c44ab3 commit 6db2058
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/version_f.f90
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ module version_f
type :: version_range_t
type(comparator_set_t), allocatable :: comp_sets(:)
contains
generic :: parse => parse_version_range
procedure, private :: parse_version_range
end type

Expand Down Expand Up @@ -399,7 +398,7 @@ subroutine try_satisfy(string)
character(*), intent(in) :: string
type(version_range_t) :: version_range

call version_range%parse(string)
call version_range%parse_version_range(string)

if (version_range%comp_sets(1)%comps(1)%op /= '>') then
print *, 'Operator not >: ', version_range%comp_sets(1)%comps(1)%op; stop 1
Expand Down

0 comments on commit 6db2058

Please sign in to comment.