summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-02 10:47:47 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-03 11:58:08 +0200
commitc82f73666d87549e5884ddcd253ec3561d840b9b (patch)
tree96eff624e0add180490d014abce92fccf9542f5b /tests
parent889d40ebe2d9d0e92caea2749608720f7c088173 (diff)
Replace Q_DECL_UNUSED with [[maybe_unused]]
Use C++17 attribute directly Change-Id: Id853e7a5117065e4adb549f81303c1820fe198ce Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-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())