mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
Fix order of variable initialization in OctreePersistThread
This commit is contained in:
parent
94069c964d
commit
11a48915e2
1 changed files with 1 additions and 2 deletions
|
@ -47,9 +47,9 @@ OctreePersistThread::OctreePersistThread(OctreePointer tree, const QString& file
|
||||||
_tree(tree),
|
_tree(tree),
|
||||||
_filename(filename),
|
_filename(filename),
|
||||||
_persistInterval(persistInterval),
|
_persistInterval(persistInterval),
|
||||||
|
_lastPersistCheck(std::chrono::steady_clock::now()),
|
||||||
_initialLoadComplete(false),
|
_initialLoadComplete(false),
|
||||||
_loadTimeUSecs(0),
|
_loadTimeUSecs(0),
|
||||||
_lastPersistCheck(std::chrono::steady_clock::now()),
|
|
||||||
_debugTimestampNow(debugTimestampNow),
|
_debugTimestampNow(debugTimestampNow),
|
||||||
_lastTimeDebug(0),
|
_lastTimeDebug(0),
|
||||||
_persistAsFileType(persistAsFileType)
|
_persistAsFileType(persistAsFileType)
|
||||||
|
@ -283,7 +283,6 @@ void OctreePersistThread::cleanupOldReplacementBackups() {
|
||||||
qDebug() << "Removed backup:" << absPath;
|
qDebug() << "Removed backup:" << absPath;
|
||||||
} else {
|
} else {
|
||||||
qWarning() << "Failed to remove backup:" << absPath;
|
qWarning() << "Failed to remove backup:" << absPath;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
count++;
|
count++;
|
||||||
|
|
Loading…
Reference in a new issue