summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-03-20 15:56:10 +0100
committerPetr Mrázek <peterix@gmail.com>2016-03-26 17:05:27 +0100
commit2929ca74134758bf473cdf6184a045aa863b07cf (patch)
tree49013bed51a1a744641ff75c4b07b5163b4b7176
parentff8f495d44bab77044363c0e10deabbb628b492c (diff)
downloadMultiMC-2929ca74134758bf473cdf6184a045aa863b07cf.tar
MultiMC-2929ca74134758bf473cdf6184a045aa863b07cf.tar.gz
MultiMC-2929ca74134758bf473cdf6184a045aa863b07cf.tar.lz
MultiMC-2929ca74134758bf473cdf6184a045aa863b07cf.tar.xz
MultiMC-2929ca74134758bf473cdf6184a045aa863b07cf.zip
NOISSUE use unique_ptr for cached download's QSaveFile
-rw-r--r--logic/net/CacheDownload.h2
1 files changed, 1 insertions, 1 deletions
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<QSaveFile> m_output_file;
+ std::unique_ptr<QSaveFile> m_output_file;
/// the hash-as-you-download
QCryptographicHash md5sum;