mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 02:20:37 +00:00
9f5c0dbf59945c84e2fde37346c4de09b272a4de
Rather than hacking around the inability to bind references to unaligned scalars, wrap them in a struct (which can then be marked as unaligned), and use the wrapped values everywhere. This ensures the code works on platforms that need special instructions for unaligned access. Adjust the forwarding functions to require references; passing by value accidentally can lose the conversion.
Description
No description provided
Languages
C++
72.7%
Python
26.1%
CMake
0.3%
GAP
0.3%
Shell
0.3%