From 2929ca74134758bf473cdf6184a045aa863b07cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 20 Mar 2016 15:56:10 +0100 Subject: NOISSUE use unique_ptr for cached download's QSaveFile --- logic/net/CacheDownload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/net/CacheDownload.h b/logic/net/CacheDownload.h index 8eea66f9..d83b2a0f 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; -- cgit v1.2.3