mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 14:45:33 +08:00
refs #776 Use pointers instead of references for members of CCached,
to avoid subtle undefined behaviour with the placement-new trick (§3.8¶8.3).
This commit is contained in:
committed by
Klaus Basan
parent
de7821ff86
commit
0fd0ce05f0
@@ -369,7 +369,7 @@ namespace BlackMisc
|
||||
//! If the value is currently being loaded, wait for it to finish loading, and call the notification slot, if any.
|
||||
void synchronize()
|
||||
{
|
||||
auto *queue = this->m_page.template findChild<Private::CDataPageQueue *>();
|
||||
auto *queue = this->m_page->template findChild<Private::CDataPageQueue *>();
|
||||
Q_ASSERT(queue);
|
||||
admit();
|
||||
CDataCache::instance()->synchronize(this->getKey());
|
||||
|
||||
Reference in New Issue
Block a user