Showing the changes to src/vm/array.cpp (1 of 10 files). Show all
Unified · Split
| @@ -28,7 +28,7 @@ std::shared_ptr<const type_descriptor_t> vm_array_t::type_desc() · 27 unmodified lines | |||
| 28 | vm_array_t::vm_array_t(std::shared_ptr<const type_descriptor_t> td, word_t length) | 28 | vm_array_t::vm_array_t(std::shared_ptr<const type_descriptor_t> td, word_t length) |
| 29 | : vm_alloc_t(vm_array_t::type_desc()) | 29 | : vm_alloc_t(vm_array_t::type_desc()) |
| 30 | , _arr{ nullptr } | 30 | , _arr{ nullptr } |
| 31 | , _element_type{ td } | 31 | , _element_type{ std::move(td) } |
| 32 | , _length{ length } | 32 | , _length{ length } |
| 33 | , _original{ nullptr } | 33 | , _original{ nullptr } |
| 34 | { | 34 | { |