diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-04-23 13:40:47 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-04-23 13:40:47 +0200 |
| commit | 2eff95fdc0eccfa6e0743478f1aa0b7ff5797e7b (patch) | |
| tree | 05d1ef3d22eb7b23a35af166be5c44625e24c3ba /src/index | |
| parent | e96316c4aee1618e9a0d40830ca0175c21d8e0c9 (diff) | |
update to the newest odin build
Diffstat (limited to 'src/index')
| -rw-r--r-- | src/index/clone.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/clone.odin b/src/index/clone.odin index f2ef075..0380c78 100644 --- a/src/index/clone.odin +++ b/src/index/clone.odin @@ -30,7 +30,7 @@ clone_array :: proc(array: $A/[]^$T, allocator: mem.Allocator, unique_strings: ^ } res := make(A, len(array), allocator); for elem, i in array { - res[i] = auto_cast clone_type(elem, allocator, unique_strings); + res[i] = cast(^T)clone_type(elem, allocator, unique_strings); } return res; } |