aboutsummaryrefslogtreecommitdiff
path: root/launcher/net/Download.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-25 10:12:29 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-25 10:12:29 +0300
commit54d7477679d4be05ce69dfe7d3ff21b0de46e8af (patch)
tree8a3eb84a1d352ed4c57e7f06cd9772f1de08e384 /launcher/net/Download.cpp
parentba609f3600e17704f358b28dd3d5ee14319cc98c (diff)
parentbcf45c74a1b0b3389c05927637bf8aa95b8e43cf (diff)
downloadPrismLauncher-54d7477679d4be05ce69dfe7d3ff21b0de46e8af.tar.gz
PrismLauncher-54d7477679d4be05ce69dfe7d3ff21b0de46e8af.tar.bz2
PrismLauncher-54d7477679d4be05ce69dfe7d3ff21b0de46e8af.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into visit_mod_page
Diffstat (limited to 'launcher/net/Download.cpp')
-rw-r--r--launcher/net/Download.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/net/Download.cpp b/launcher/net/Download.cpp
index 7f8d3a06..4ea45c63 100644
--- a/launcher/net/Download.cpp
+++ b/launcher/net/Download.cpp
@@ -41,6 +41,7 @@
#include <QDateTime>
#include <QFileInfo>
+#include <memory>
#include "ByteArraySink.h"
#include "ChecksumValidator.h"
@@ -69,7 +70,7 @@ auto Download::makeCached(QUrl url, MetaEntryPtr entry, Options options) -> Down
return dl;
}
-auto Download::makeByteArray(QUrl url, QByteArray* output, Options options) -> Download::Ptr
+auto Download::makeByteArray(QUrl url, std::shared_ptr<QByteArray> output, Options options) -> Download::Ptr
{
auto dl = makeShared<Download>();
dl->m_url = url;