diff options
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.cpp')
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index 654cd3b1..ae8fe5a2 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -118,10 +118,6 @@ void freetrack::pose(const double* headpose) if ((std::intptr_t(pMemData) & page_size() - 1) != 0) assert(!"proto/freetrack: memory mapping not page aligned"); - // the data happens to be aligned by virtue of element ordering - // inside `FTHeap'. there's no deeper reason behind it. - static_assert((offsetof(FTHeap, table) & sizeof(int) - 1) == 0, ""); - // no atomic access for `char' for (unsigned k = 0; k < 2; k++) store(pMemData->table_ints[k], t.ints[k]); |