Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into fix_retry_dialog
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Net {
|
||||
*/
|
||||
class ByteArraySink : public Sink {
|
||||
public:
|
||||
ByteArraySink(std::shared_ptr<QByteArray> output) : m_output(output){};
|
||||
ByteArraySink(std::shared_ptr<QByteArray> output) : m_output(output) {};
|
||||
|
||||
virtual ~ByteArraySink() = default;
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace Net {
|
||||
class ChecksumValidator : public Validator {
|
||||
public:
|
||||
ChecksumValidator(QCryptographicHash::Algorithm algorithm, QByteArray expected = QByteArray())
|
||||
: m_checksum(algorithm), m_expected(expected){};
|
||||
: m_checksum(algorithm), m_expected(expected) {};
|
||||
virtual ~ChecksumValidator() = default;
|
||||
|
||||
public:
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
namespace Net {
|
||||
class FileSink : public Sink {
|
||||
public:
|
||||
FileSink(QString filename) : m_filename(filename){};
|
||||
FileSink(QString filename) : m_filename(filename) {};
|
||||
virtual ~FileSink() = default;
|
||||
|
||||
public:
|
||||
|
||||
@@ -175,6 +175,8 @@ void HttpMetaCache::evictAll()
|
||||
if (!evictEntry(entry))
|
||||
qCWarning(taskHttpMetaCacheLogC) << "Unexpected missing cache entry" << entry->m_basePath;
|
||||
}
|
||||
map.entry_list.clear();
|
||||
FS::deletePath(map.base_path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Net {
|
||||
|
||||
class StaticHeaderProxy : public HeaderProxy {
|
||||
public:
|
||||
StaticHeaderProxy(QList<HeaderPair> hdrs = {}) : HeaderProxy(), m_hdrs(hdrs){};
|
||||
StaticHeaderProxy(QList<HeaderPair> hdrs = {}) : HeaderProxy(), m_hdrs(hdrs) {};
|
||||
virtual ~StaticHeaderProxy() = default;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user