From c82f73666d87549e5884ddcd253ec3561d840b9b Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 2 Oct 2020 10:47:47 +0200 Subject: Replace Q_DECL_UNUSED with [[maybe_unused]] Use C++17 attribute directly Change-Id: Id853e7a5117065e4adb549f81303c1820fe198ce Reviewed-by: Thiago Macieira --- tests/shared/emulationdetector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/shared') 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()) -- cgit v1.2.3