From: APTX Date: Sat, 19 Feb 2022 09:21:24 +0000 (+0900) Subject: Mark MpvInstance constructor explicit X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=c12c470e06b93c8ea1c39217c2e1ffc4bebc7674;p=aniplayer.git Mark MpvInstance constructor explicit Fixes style warning. --- diff --git a/backendplugins/backend_mpv/backendmpv.h b/backendplugins/backend_mpv/backendmpv.h index 2afb0ba..c4bd7da 100644 --- a/backendplugins/backend_mpv/backendmpv.h +++ b/backendplugins/backend_mpv/backendmpv.h @@ -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;