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

@@ -32,7 +32,7 @@ class GstElementDeleter : public QObject {
Q_OBJECT
public:
GstElementDeleter(QObject *parent = nullptr);
explicit GstElementDeleter(QObject *parent = nullptr);
// If you call this function with any gstreamer element, the element will get deleted in the main thread.
// This is useful if you need to delete an element from its own callback.