diff options
Diffstat (limited to '078hash.cc')
-rw-r--r-- | 078hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/078hash.cc b/078hash.cc index 91db00ba..36de2fda 100644 --- a/078hash.cc +++ b/078hash.cc @@ -78,7 +78,7 @@ size_t hash_mu_array(size_t h, const reagent& r) { int size = get_or_insert(Memory, r.value); reagent elem = r; delete elem.type; - elem.type = new type_tree(*array_element(r.type)); + elem.type = copy_array_element(r.type); for (int i=0, address = r.value+1; i < size; ++i, address += size_of(elem)) { reagent tmp = elem; tmp.value = address; |