Use explicit keyword

This commit is contained in:
Laurent Montel
2023-07-12 13:18:32 +02:00
parent 10a294f99e
commit a5da17b000
11 changed files with 11 additions and 11 deletions

View File

@@ -46,7 +46,7 @@ public:
IsDeletableRole, /**< Whether the item can be deleted from the model. */
};
ServerListModel(QObject *parent = nullptr);
explicit ServerListModel(QObject *parent = nullptr);
/**
* @brief Get the given role value at the given index.