diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-08-19 19:11:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-09-06 18:31:43 +0200 |
commit | 68198de4dbe71ae97dc733606871f51bde804c1e (patch) | |
tree | df68d428265f876367c7cd54d5e2c14f007c1964 /tests | |
parent | d3ff95dcb84861e8f42b480910d822b4ca8715b1 (diff) | |
download | qtbase-68198de4dbe71ae97dc733606871f51bde804c1e.tar.gz |
Use C++17 [[maybe_unused]]
In some places needs to be ordered before const/constexpr though.
Change-Id: I57a521ac0ad22b5a018761c4d52befbef69d64c0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/shared/emulationdetector.h | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |