Mod: Single arg ctors must be explicit

This commit is contained in:
berniev
2022-08-15 19:28:04 +10:00
committed by wwmayer
parent 3877fc62c3
commit 180edfa3cc
263 changed files with 473 additions and 473 deletions

View File

@@ -50,7 +50,7 @@ private:
class FirewallPython : public Firewall
{
public:
FirewallPython(const Py::Object&);
explicit FirewallPython(const Py::Object&);
~FirewallPython() override;
bool filter(const QByteArray&) const override;
@@ -80,7 +80,7 @@ class AppServer : public QTcpServer
Q_OBJECT
public:
AppServer(bool direct = false, QObject* parent = nullptr);
explicit AppServer(bool direct = false, QObject* parent = nullptr);
protected:
void incomingConnection(qintptr socket) override;