mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Added assert.
This commit is contained in:
committed by
Klaus Basan
parent
603bfd9dc4
commit
8e6422d2be
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user