Skip to content
Snippets Groups Projects
Commit 084c9113 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

fix for buffer debug marker

parent b1061b9e
No related merge requests found
...@@ -256,7 +256,7 @@ VT& GenericSendBuffer<T,G>::Ptr<VT>::operator[](const size_t& rhs) ...@@ -256,7 +256,7 @@ VT& GenericSendBuffer<T,G>::Ptr<VT>::operator[](const size_t& rhs)
return *reinterpret_cast<value_type*>( return *reinterpret_cast<value_type*>(
buffer_.getMemoryLocation( buffer_.getMemoryLocation(
offset_ + offset_ +
static_cast<std::ptrdiff_t>( rhs * ( BUFFER_DEBUG_OVERHEAD + sizeof(VT) ) ) static_cast<std::ptrdiff_t>( rhs * ( BUFFER_DEBUG_OVERHEAD + sizeof(VT) ) + BUFFER_DEBUG_OVERHEAD )
) )
); );
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment