Skip to content

Commit

Permalink
reorder VectorWithOffset constructor args (#1460)
Browse files Browse the repository at this point in the history
reorder VectorWithOffset constructor args

Fixes #1459
  • Loading branch information
KrisThielemans authored Jun 18, 2024
1 parent edccb82 commit fdd5a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/stir/VectorWithOffset.inl
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ template <class T>
VectorWithOffset<T>::VectorWithOffset(const int min_index, const int max_index, T* const data_ptr, T* const end_of_data_ptr)
: length(static_cast<unsigned>(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;
Expand Down

0 comments on commit fdd5a9c

Please sign in to comment.