From 68198de4dbe71ae97dc733606871f51bde804c1e Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 19 Aug 2020 19:11:37 +0200 Subject: Use C++17 [[maybe_unused]] In some places needs to be ordered before const/constexpr though. Change-Id: I57a521ac0ad22b5a018761c4d52befbef69d64c0 Reviewed-by: Thiago Macieira --- tests/shared/emulationdetector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/shared/emulationdetector.h') diff --git a/tests/shared/emulationdetector.h b/tests/shared/emulationdetector.h index c8e78c9c54..dc707b38b6 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. */ -static Q_DECL_UNUSED bool isRunningArmOnX86() +Q_DECL_UNUSED static bool isRunningArmOnX86() { #ifdef SHOULD_CHECK_ARM_ON_X86 if (isX86SpecificFileAvailable()) -- cgit v1.2.3