NOISSUE use unique_ptr for cached download's QSaveFile
This commit is contained in:
1 parent
ff8f495d44
commit
2929ca7413
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user