Add explicit

This commit is contained in:
Jonas Kvinge
2020-04-07 16:49:15 +02:00
parent 3efc496c41
commit 21b2193cd0
199 changed files with 337 additions and 342 deletions

View File

@@ -36,7 +36,7 @@
class MtpConnection : public QObject, public std::enable_shared_from_this<MtpConnection> {
public:
MtpConnection(const QUrl &url);
explicit MtpConnection(const QUrl &url);
~MtpConnection();
bool is_valid() const { return device_; }