From 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Oct 2017 09:21:41 +0100 Subject: static constexpr -> constexpr --- proto-ft/ftnoir_protocol_ft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto-ft') 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]); -- cgit v1.2.3