Commit 3f7a8332 authored by Igor Kushnir's avatar Igor Kushnir

Make m_repositoryPath data members const

parent 8d8c395a
......@@ -41,7 +41,7 @@ private Q_SLOTS:
void lookupValue();
private:
QString m_repositoryPath = QDir::tempPath() + QStringLiteral("/bench_itemrepository");
const QString m_repositoryPath = QDir::tempPath() + QStringLiteral("/bench_itemrepository");
};
#endif // TESTITEMREPOSITORY_H
......@@ -53,7 +53,7 @@ private Q_SLOTS:
void testCString();
private:
QString m_repositoryPath = QDir::tempPath() + QStringLiteral("/test_indexedstring");
const QString m_repositoryPath = QDir::tempPath() + QStringLiteral("/test_indexedstring");
};
#endif // TESTINDEXEDSTRING_H
......@@ -388,7 +388,7 @@ private Q_SLOTS:
}
private:
QString m_repositoryPath = QDir::tempPath() + QStringLiteral("/test_itemrepository");
const QString m_repositoryPath = QDir::tempPath() + QStringLiteral("/test_itemrepository");
};
#include "test_itemrepository.moc"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment