aboutsummaryrefslogtreecommitdiff
path: root/launcher/net
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-08-01 18:53:51 -0700
committerGitHub <noreply@github.com>2023-08-01 18:53:51 -0700
commitf19e8dd086cd046c694a4a9a02d83827b08952b0 (patch)
tree2beb6c07804b4f527f827066f45de3ae6df4de57 /launcher/net
parent5a9f780cf842a8def9bccf60e84ce405dc9acc32 (diff)
downloadPrismLauncher-f19e8dd086cd046c694a4a9a02d83827b08952b0.tar.gz
PrismLauncher-f19e8dd086cd046c694a4a9a02d83827b08952b0.tar.bz2
PrismLauncher-f19e8dd086cd046c694a4a9a02d83827b08952b0.zip
Apply suggestions from code review
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/net')
-rw-r--r--launcher/net/ApiHeaderProxy.h2
-rw-r--r--launcher/net/Download.h2
-rw-r--r--launcher/net/HeaderProxy.h2
-rw-r--r--launcher/net/NetRequest.h2
-rw-r--r--launcher/net/RawHeaderProxy.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/launcher/net/ApiHeaderProxy.h b/launcher/net/ApiHeaderProxy.h
index 6fd3e4c1..789a6fad 100644
--- a/launcher/net/ApiHeaderProxy.h
+++ b/launcher/net/ApiHeaderProxy.h
@@ -27,7 +27,7 @@ namespace Net {
class ApiHeaderProxy : public HeaderProxy {
public:
- ApiHeaderProxy() : HeaderProxy(){};
+ ApiHeaderProxy() : HeaderProxy() {}
virtual ~ApiHeaderProxy() = default;
public:
diff --git a/launcher/net/Download.h b/launcher/net/Download.h
index dc3ccacf..5f6a5caf 100644
--- a/launcher/net/Download.h
+++ b/launcher/net/Download.h
@@ -48,7 +48,7 @@ class Download : public NetRequest {
Q_OBJECT
public:
using Ptr = shared_qobject_ptr<class Download>;
- explicit Download() : NetRequest() { logCat = taskDownloadLogC; };
+ explicit Download() : NetRequest() { logCat = taskDownloadLogC; }
#if defined(LAUNCHER_APPLICATION)
static auto makeCached(QUrl url, MetaEntryPtr entry, Options options = Option::NoOptions) -> Download::Ptr;
diff --git a/launcher/net/HeaderProxy.h b/launcher/net/HeaderProxy.h
index 308455e4..f41c5875 100644
--- a/launcher/net/HeaderProxy.h
+++ b/launcher/net/HeaderProxy.h
@@ -43,7 +43,7 @@ class HeaderProxy {
for (auto header : headers(request)) {
request.setRawHeader(header.headerName, header.headerValue);
}
- };
+ }
};
} // namespace Net
diff --git a/launcher/net/NetRequest.h b/launcher/net/NetRequest.h
index 6ebdcab0..9a602162 100644
--- a/launcher/net/NetRequest.h
+++ b/launcher/net/NetRequest.h
@@ -67,7 +67,7 @@ class NetRequest : public NetAction {
public:
void addValidator(Validator* v);
auto abort() -> bool override;
- auto canAbort() const -> bool override { return true; };
+ auto canAbort() const -> bool override { return true; }
private:
auto handleRedirect() -> bool;
diff --git a/launcher/net/RawHeaderProxy.h b/launcher/net/RawHeaderProxy.h
index c1aea0a8..09b3d4d0 100644
--- a/launcher/net/RawHeaderProxy.h
+++ b/launcher/net/RawHeaderProxy.h
@@ -27,7 +27,7 @@ namespace Net {
class RawHeaderProxy : public HeaderProxy {
public:
- RawHeaderProxy() : HeaderProxy(){};
+ RawHeaderProxy() : HeaderProxy() {}
virtual ~RawHeaderProxy() = default;
public: