Skip to content

Commit 4847f5c

Browse files
committed
Other_type cleanup and removal
Remove reference of other_type that were missed in the initial commits.
1 parent 1c681d1 commit 4847f5c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/stdlib_hashmap_open.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ module subroutine get_other_open_data( map, key, other, exists )
297297
!
298298
class(open_hashmap_type), intent(inout) :: map
299299
type(key_type), intent(in) :: key
300-
class(*), allocatable, intent(out) :: other
300+
class(*), allocatable, intent(out) :: other
301301
logical, intent(out), optional :: exists
302302

303303
integer(int_index) :: inmap

src/stdlib_hashmaps.f90

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ module stdlib_hashmaps
3232
seeded_water_hasher, &
3333
set, &
3434
key_type, &
35-
other_type, &
3635
int_hash
3736

3837
implicit none
@@ -181,7 +180,7 @@ subroutine key_get_other_data( map, key, other, exists )
181180
!! other - the other data associated with the key
182181
!! exists - a logical flag indicating whether an entry with that key exists
183182
!
184-
import hashmap_type, key_type, other_type
183+
import hashmap_type, key_type
185184
class(hashmap_type), intent(inout) :: map
186185
type(key_type), intent(in) :: key
187186
class(*), allocatable, intent(out) :: other
@@ -254,7 +253,7 @@ subroutine key_map_entry(map, key, other, conflict)
254253
!! Inserts an entry into the hash table
255254
!! ([Specifications](../page/specs/stdlib_hashmaps.html#map_entry-inserts-an-entry-into-the-hash-map))
256255
!!
257-
import hashmap_type, key_type, other_type
256+
import hashmap_type, key_type
258257
class(hashmap_type), intent(inout) :: map
259258
type(key_type), intent(in) :: key
260259
class(*), intent(in), optional :: other
@@ -302,7 +301,7 @@ subroutine key_set_other_data( map, key, other, exists )
302301
!! in the map
303302
!!
304303
!
305-
import hashmap_type, key_type, other_type
304+
import hashmap_type, key_type
306305
class(hashmap_type), intent(inout) :: map
307306
type(key_type), intent(in) :: key
308307
class(*), intent(in) :: other

0 commit comments

Comments
 (0)