Skip to content

Commit 92ff31f

Browse files
committed
added pure attribute
1 parent 95a9412 commit 92ff31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/hashmaps/example_hashmaps_get_all_keys.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ program example_hashmaps_get_all_keys
4141

4242
contains
4343
!Converts key type to character type
44-
function key_to_char(key) result(str)
44+
pure function key_to_char(key) result(str)
4545
type(key_type), intent(in) :: key
4646
character(:), allocatable :: str
4747
character(:), allocatable :: str_mold

0 commit comments

Comments
 (0)