From fdd5a9cca96e880a951827f18515699fb70a3d4c Mon Sep 17 00:00:00 2001 From: Kris Thielemans Date: Tue, 18 Jun 2024 07:47:52 +0100 Subject: [PATCH] reorder VectorWithOffset constructor args (#1460) reorder VectorWithOffset constructor args Fixes #1459 --- src/include/stir/VectorWithOffset.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/stir/VectorWithOffset.inl b/src/include/stir/VectorWithOffset.inl index 7affd8d327..371936f3c4 100644 --- a/src/include/stir/VectorWithOffset.inl +++ b/src/include/stir/VectorWithOffset.inl @@ -276,8 +276,8 @@ template VectorWithOffset::VectorWithOffset(const int min_index, const int max_index, T* const data_ptr, T* const end_of_data_ptr) : length(static_cast(max_index - min_index) + 1), start(min_index), - pointer_access(false), - allocated_memory_sptr(nullptr) // we don't own the data + allocated_memory_sptr(nullptr), // we don't own the data + pointer_access(false) { this->begin_allocated_memory = data_ptr; this->end_allocated_memory = end_of_data_ptr;