summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 57787093..389e12b2 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -25,7 +25,7 @@ static_assert(sizeof(LONG) == 4u, "");
static constexpr inline float d2r = float(M_PI/180);
-never_inline void store(float volatile& place, const float value)
+cc_noinline void store(float volatile& place, const float value)
{
union
{
@@ -42,13 +42,13 @@ never_inline void store(float volatile& place, const float value)
}
template<typename t>
-force_inline void store(t volatile& place, t value)
+cc_forceinline void store(t volatile& place, t value)
{
static_assert(sizeof(t) == 4u, "");
(void)InterlockedExchange((LONG volatile*) &place, value);
}
-force_inline std::int32_t load(std::int32_t volatile& place)
+cc_forceinline std::int32_t load(std::int32_t volatile& place)
{
return InterlockedCompareExchange((volatile LONG*) &place, 0, 0);
}