aboutsummaryrefslogtreecommitdiff
path: root/launcher/net
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/net')
-rw-r--r--launcher/net/Download.h2
-rw-r--r--launcher/net/HttpMetaCache.h2
-rw-r--r--launcher/net/NetAction.h6
-rw-r--r--launcher/net/Validator.h5
4 files changed, 8 insertions, 7 deletions
diff --git a/launcher/net/Download.h b/launcher/net/Download.h
index 2e861732..0f11c52f 100644
--- a/launcher/net/Download.h
+++ b/launcher/net/Download.h
@@ -66,7 +66,7 @@ class Download : 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/HttpMetaCache.h b/launcher/net/HttpMetaCache.h
index 0dcb5668..036a8dd9 100644
--- a/launcher/net/HttpMetaCache.h
+++ b/launcher/net/HttpMetaCache.h
@@ -74,7 +74,7 @@ class MetaEntry {
auto getMaximumAge() -> qint64 { return m_max_age; }
void setMaximumAge(qint64 age) { m_max_age = age; }
- bool isExpired(qint64 offset) { return !m_is_eternal && (m_current_age >= m_max_age - offset); };
+ bool isExpired(qint64 offset) { return !m_is_eternal && (m_current_age >= m_max_age - offset); }
protected:
QString m_baseId;
diff --git a/launcher/net/NetAction.h b/launcher/net/NetAction.h
index ab9322c2..c22eaf9f 100644
--- a/launcher/net/NetAction.h
+++ b/launcher/net/NetAction.h
@@ -45,7 +45,7 @@
class NetAction : public Task {
Q_OBJECT
protected:
- explicit NetAction() : Task(){};
+ explicit NetAction() : Task(){}
public:
using Ptr = shared_qobject_ptr<NetAction>;
@@ -71,7 +71,7 @@ class NetAction : public Task {
i++;
}
- };
+ }
public slots:
void startAction(shared_qobject_ptr<QNetworkAccessManager> network)
@@ -81,7 +81,7 @@ class NetAction : public Task {
}
protected:
- void executeTask() override{};
+ void executeTask() override{}
public:
shared_qobject_ptr<QNetworkAccessManager> m_network;
diff --git a/launcher/net/Validator.h b/launcher/net/Validator.h
index 6b3d4635..c8ce7922 100644
--- a/launcher/net/Validator.h
+++ b/launcher/net/Validator.h
@@ -40,8 +40,9 @@ namespace Net {
class Validator
{
public: /* con/des */
- Validator() {};
- virtual ~Validator() {};
+ Validator() {}
+
+ virtual ~Validator() {}
public: /* methods */
virtual bool init(QNetworkRequest & request) = 0;