From a12d82524a755482bbff8886db7cb7ca5633defd Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 16 Apr 2016 12:30:49 +0800 Subject: [PATCH] Fix class member initialize order --- src/base/bittorrent/torrenthandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/torrenthandle.cpp b/src/base/bittorrent/torrenthandle.cpp index 7881fe21b..7fd86e9cc 100644 --- a/src/base/bittorrent/torrenthandle.cpp +++ b/src/base/bittorrent/torrenthandle.cpp @@ -199,10 +199,10 @@ TorrentHandle::TorrentHandle(Session *session, const libtorrent::torrent_handle , m_nativeHandle(nativeHandle) , m_state(TorrentState::Unknown) , m_renameCount(0) + , m_useASM(data.savePath.isEmpty()) , m_name(data.name) , m_savePath(Utils::Fs::toNativePath(data.savePath)) , m_category(data.category) - , m_useASM(data.savePath.isEmpty()) , m_hasSeedStatus(data.hasSeedStatus) , m_ratioLimit(data.ratioLimit) , m_tempPathDisabled(data.disableTempPath)