From 2a7fa4963cdab49e19e1377a3ab627584cd6e1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Fri, 21 Mar 2025 14:52:43 +0100 Subject: Shuffle Q_(ALWAYS|NEVER)_INLINE around so they can be attributes The attribute must appear before the modifiers like 'inline' and 'constexpr'. Change-Id: If3d143fc2f85a8eba6e3ac2ceca10720649f33cb Reviewed-by: Thiago Macieira --- src/corelib/global/qendian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/global/qendian.cpp') diff --git a/src/corelib/global/qendian.cpp b/src/corelib/global/qendian.cpp index 5e46109dd11..1436316ac18 100644 --- a/src/corelib/global/qendian.cpp +++ b/src/corelib/global/qendian.cpp @@ -835,7 +835,7 @@ size_t simdSwapLoop(const uchar *, size_t, uchar *) noexcept } #endif -template static Q_ALWAYS_INLINE +template Q_ALWAYS_INLINE static void *bswapLoop(const uchar *src, size_t n, uchar *dst) noexcept { // Buffers cannot partially overlap: either they're identical or totally -- cgit v1.2.3