summaryrefslogtreecommitdiffstats
path: root/tests/shared
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shared')
-rw-r--r--tests/shared/emulationdetector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shared/emulationdetector.h b/tests/shared/emulationdetector.h
index dc707b38b6..f691118464 100644
--- a/tests/shared/emulationdetector.h
+++ b/tests/shared/emulationdetector.h
@@ -59,7 +59,7 @@ static bool isReportedArchitectureX86(void);
* Currently this is only able to check on Linux. If not able to
* detect, return false.
*/
-Q_DECL_UNUSED static bool isRunningArmOnX86()
+[[maybe_unused]] static bool isRunningArmOnX86()
{
#ifdef SHOULD_CHECK_ARM_ON_X86
if (isX86SpecificFileAvailable())