Skip to content

Commit

Permalink
iox-eclipse-iceoryx#391 changed non-standard alignof usage
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
  • Loading branch information
MatthiasKillat committed May 27, 2021
1 parent a598084 commit 68615b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ template <uint64_t Capacity, uint64_t Align>
template <typename T>
constexpr uint64_t static_storage<Capacity, Align>::allocation_size() noexcept
{
return sizeof(T) + align_mismatch(alignof(m_bytes), alignof(T));
return sizeof(T) + align_mismatch(Align, alignof(T));
}

} // namespace cxx
Expand Down

0 comments on commit 68615b8

Please sign in to comment.