]> Some of my projects - aniplayer.git/commitdiff
Mark MpvInstance constructor explicit
authorAPTX <marek321@gmail.com>
Sat, 19 Feb 2022 09:21:24 +0000 (18:21 +0900)
committerAPTX <marek321@gmail.com>
Mon, 21 Feb 2022 15:10:20 +0000 (00:10 +0900)
Fixes style warning.

backendplugins/backend_mpv/backendmpv.h

index 2afb0bac37a52e3a8aa8bab9bd26474917977101..c4bd7dabacb295790ce587ba467e452bbfd6c2eb 100644 (file)
@@ -32,7 +32,7 @@ class BACKEND_MPVSHARED_EXPORT MpvInstance : public QObject,
   static constexpr const TrackIndex NoTrack = -1;
 
 public:
-  MpvInstance(PlayerPluginInterface *, QObject *parent = nullptr);
+  explicit MpvInstance(PlayerPluginInterface *, QObject *parent = nullptr);
   virtual ~MpvInstance() override;
 
   VideoRendererBase *createRenderer(VideoUpdateInterface *) override;