mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 13:18:06 -06:00
cmake: set warning and error options
The set is far from perfect, but guards against common errors with GCC.
This commit is contained in:
@@ -54,10 +54,10 @@ public:
|
||||
explicit AbstractWebApplication(QObject *parent = 0);
|
||||
virtual ~AbstractWebApplication();
|
||||
|
||||
Http::Response processRequest(const Http::Request &request, const Http::Environment &env);
|
||||
Http::Response processRequest(const Http::Request &request, const Http::Environment &env) final;
|
||||
|
||||
protected:
|
||||
virtual void processRequest() = 0;
|
||||
virtual void doProcessRequest() = 0;
|
||||
|
||||
bool isBanned() const;
|
||||
int failedAttempts() const;
|
||||
|
||||
Reference in New Issue
Block a user