chore: clean up after new compiler warnings
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user