aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarker/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarker/exception.h')
-rw-r--r--tests/benchmarker/exception.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarker/exception.h b/tests/benchmarker/exception.h
index b4df36974..9fab479ea 100644
--- a/tests/benchmarker/exception.h
+++ b/tests/benchmarker/exception.h
@@ -35,8 +35,8 @@ namespace qbsBenchmarker {
class Exception : public QException {
public:
- explicit Exception(const QString &description) : m_description(description) {}
- ~Exception() throw() override { }
+ explicit Exception(QString description) : m_description(std::move(description)) {}
+ ~Exception() throw() override = default;
QString description() const { return m_description; }