diff --git a/logic/net/CacheDownload.h b/logic/net/CacheDownload.h index 8eea66f9c..d83b2a0f1 100644 --- a/logic/net/CacheDownload.h +++ b/logic/net/CacheDownload.h @@ -32,7 +32,7 @@ private: QString m_target_path; /// this is the output file, if any - std::shared_ptr m_output_file; + std::unique_ptr m_output_file; /// the hash-as-you-download QCryptographicHash md5sum;