summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:21:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:41:23 +0100
commit33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch)
tree7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /proto-ft
parent29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff)
static constexpr -> constexpr
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 1e704c72..fbfc23d9 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -118,7 +118,7 @@ void freetrack::pose(const double* headpose)
if (addr != addr_)
assert(!"unaligned access");
- static_assert(sizeof(char[8])/sizeof(LONG) == 2, "");
+ static_assert(sizeof(LONG) == 4, "");
for (unsigned k = 0; k < 2; k++)
store(*(std::int32_t volatile*)&pMemData->table_ints[k], t.ints[k]);