summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qbenchmark_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qbenchmark_p.h b/src/testlib/qbenchmark_p.h
index 93b5becb2b..32e77366e7 100644
--- a/src/testlib/qbenchmark_p.h
+++ b/src/testlib/qbenchmark_p.h
@@ -91,7 +91,7 @@ struct QBenchmarkContext
QBenchmarkContext() = default;
};
-Q_DECLARE_TYPEINFO(QBenchmarkContext, Q_MOVABLE_TYPE);
+Q_DECLARE_TYPEINFO(QBenchmarkContext, Q_RELOCATABLE_TYPE);
class QBenchmarkResult
{
@@ -121,7 +121,7 @@ public:
return (value / iterations) < (other.value / other.iterations);
}
};
-Q_DECLARE_TYPEINFO(QBenchmarkResult, Q_MOVABLE_TYPE);
+Q_DECLARE_TYPEINFO(QBenchmarkResult, Q_RELOCATABLE_TYPE);
/*
The QBenchmarkGlobalData class stores global benchmark-related data.