Fix initialization order

This commit is contained in:
Chocobo1 2020-09-25 01:08:24 +08:00
parent e4ffe7aa32
commit f487d32594
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -125,8 +125,8 @@ TorrentHandleImpl::TorrentHandleImpl(Session *session, const lt::torrent_handle
, m_seedingTimeLimit(params.seedingTimeLimit)
, m_hasSeedStatus(params.hasSeedStatus)
, m_hasRootFolder(params.hasRootFolder)
, m_useAutoTMM(params.savePath.isEmpty())
, m_hasFirstLastPiecePriority(params.firstLastPiecePriority)
, m_useAutoTMM(params.savePath.isEmpty())
, m_ltAddTorrentParams(params.ltAddTorrentParams)
{
if (m_useAutoTMM)