From f2faf7acf4445fef2a149ebbdecb569a2d119d94 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 2 Jul 2018 08:20:47 +0200 Subject: nothing important --- proto-ft/ftnoir_protocol_ft.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'proto-ft/ftnoir_protocol_ft.cpp') diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index bf99a94f..7bc85afa 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -20,8 +20,8 @@ freetrack::~freetrack() dummyTrackIR.close(); } -static_assert(sizeof(LONG) == sizeof(std::int32_t), ""); -static_assert(sizeof(LONG) == 4u, ""); +static_assert(sizeof(LONG) == sizeof(std::int32_t)); +static_assert(sizeof(LONG) == 4u); static constexpr inline float d2r = float(M_PI/180); @@ -35,8 +35,8 @@ cc_noinline void store(float volatile& place, const float value) value_.f32 = value; - static_assert(sizeof(value_) == sizeof(float), ""); - static_assert(offsetof(decltype(value_), f32) == offsetof(decltype(value_), i32), ""); + static_assert(sizeof(value_) == sizeof(float)); + static_assert(offsetof(decltype(value_), f32) == offsetof(decltype(value_), i32)); (void)InterlockedExchange((LONG volatile*)&place, value_.i32); } @@ -44,7 +44,7 @@ cc_noinline void store(float volatile& place, const float value) template cc_forceinline void store(t volatile& place, t value) { - static_assert(sizeof(t) == 4u, ""); + static_assert(sizeof(t) == 4u); (void)InterlockedExchange((LONG volatile*) &place, value); } -- cgit v1.2.3