Fix order of variable initialization in OctreePersistThread

This commit is contained in:
Ryan Huffman 2018-06-11 09:47:50 -07:00
parent 94069c964d
commit 11a48915e2

View file

@ -47,9 +47,9 @@ OctreePersistThread::OctreePersistThread(OctreePointer tree, const QString& file
_tree(tree),
_filename(filename),
_persistInterval(persistInterval),
_lastPersistCheck(std::chrono::steady_clock::now()),
_initialLoadComplete(false),
_loadTimeUSecs(0),
_lastPersistCheck(std::chrono::steady_clock::now()),
_debugTimestampNow(debugTimestampNow),
_lastTimeDebug(0),
_persistAsFileType(persistAsFileType)
@ -283,7 +283,6 @@ void OctreePersistThread::cleanupOldReplacementBackups() {
qDebug() << "Removed backup:" << absPath;
} else {
qWarning() << "Failed to remove backup:" << absPath;
}
}
count++;