mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
NOISSUE use unique_ptr for cached download's QSaveFile
This commit is contained in:
parent
ff8f495d44
commit
2929ca7413
@ -32,7 +32,7 @@ private:
|
||||
QString m_target_path;
|
||||
|
||||
/// this is the output file, if any
|
||||
std::shared_ptr<QSaveFile> m_output_file;
|
||||
std::unique_ptr<QSaveFile> m_output_file;
|
||||
|
||||
/// the hash-as-you-download
|
||||
QCryptographicHash md5sum;
|
||||
|
Loading…
Reference in New Issue
Block a user