Added assert.

This commit is contained in:
Mathew Sutcliffe
2016-12-04 19:07:12 +00:00
committed by Klaus Basan
parent 603bfd9dc4
commit 8e6422d2be

View File

@@ -165,7 +165,9 @@ namespace BlackMisc
}
CValueCache::CValueCache(QObject *parent) : QObject(parent)
{}
{
Q_ASSERT_X(QThread::currentThread() == qApp->thread(), Q_FUNC_INFO, "Cache constructed in wrong thread");
}
struct CValueCache::Element
{