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), _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++;