From 12d2b34c40689d0af6dba34142a0fbf54f01df6f Mon Sep 17 00:00:00 2001 From: Albin Johansson Date: Sun, 29 Oct 2023 10:19:45 +0100 Subject: [PATCH] Fix compilation of byteswap fallback --- modules/core/inc/tactile/core/platform/bits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/inc/tactile/core/platform/bits.hpp b/modules/core/inc/tactile/core/platform/bits.hpp index 91e8a9da5b..20529e43c4 100644 --- a/modules/core/inc/tactile/core/platform/bits.hpp +++ b/modules/core/inc/tactile/core/platform/bits.hpp @@ -63,7 +63,7 @@ template #else using ByteArray = Array; - const auto bytes = interpret_as(value); + auto bytes = interpret_as(value); std::reverse(bytes.begin(), bytes.end()); return interpret_as(bytes);