leapmotion / autowiring

A C++ Inversion of Control Framework
http://autowiring.io/
Apache License 2.0
148 stars 17 forks source link

Packet Decoration not honoring data alignment. #1042

Closed bstastnyleapmotion closed 6 years ago

bstastnyleapmotion commented 6 years ago

It is a known bug that make_shared does not honor data alignment requirements.

converting this type of code: auto ptr = std::make_shared(std::forward<T&&>(t));

To: auto ptr = std::shared_ptr(new TActual(std::forward<T&&>(t)));

Will fix the issue(s)

jdonald commented 6 years ago

This was fixed in #1043