Skip to content

Commit 635acfe

Browse files
committed
[utils] Fix aligned_storage_helper for Capacity == 2
The alignment was erroneously 1 instead of 2
1 parent e068fd2 commit 635acfe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/modm/utils/aligned_storage.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ union aligned_storage_helper
4747
maybe<double1> f;
4848
maybe<double4> g;
4949
maybe<long double> h;
50+
maybe<short> i;
5051
};
5152
} // namespace aligned_storage_impl
5253

0 commit comments

Comments
 (0)