Skip to content

Commit 5d6741d

Browse files
committed
Changed api of set for keys
Changed the arguments from key_in and key_out to old_key andnew_key. [ticket: X]
1 parent dcfb087 commit 5d6741d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/stdlib_hashmap_wrappers.f90

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@ end function hasher_fun
105105
contains
106106

107107

108-
pure subroutine copy_key( key_in, key_out )
108+
pure subroutine copy_key( old_key, new_key )
109109
!! Version: Experimental
110110
!!
111-
!! Copies the contents of the key, key_in, to the key, key_out
111+
!! Copies the contents of the key, old_key, to the key, out_key
112112
!! Arguments:
113-
!! key_in - the input key
114-
!! key_out - the output key
115-
type(key_type), intent(in) :: key_in
116-
type(key_type), intent(out) :: key_out
113+
!! old_key - the input key
114+
!! new_key - the output copy of old_key
115+
type(key_type), intent(in) :: old_key
116+
type(key_type), intent(out) :: new_key
117117

118-
key_out % value = key_in % value
118+
new_key % value = old_key % value
119119

120120
end subroutine copy_key
121121

0 commit comments

Comments
 (0)