summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Dubsky <pavel.dubsky@qt.io>2023-08-30 16:27:39 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-08-30 19:29:13 +0000
commitf9e08ed789a97fa0af07ba4148ee976fac2d76ff (patch)
tree8d4f6136be548407c6f03ad842a2749b42af55e6
parent1eaa764176b70981bc0cd328f07ee751abf614b2 (diff)
Remove deleted default constructor
Default constructor won't be generated because there's another declared constructor in the class. Change-Id: I4e96f299ba509a6077ed775f6f5c1a7db3342f11 Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io> Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> (cherry picked from commit 59934116ba6e480c001e98594cf03c4826e86b8d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/plugins/multimedia/ffmpeg/qwindowscamera.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/multimedia/ffmpeg/qwindowscamera.cpp b/src/plugins/multimedia/ffmpeg/qwindowscamera.cpp
index a4d140f6e..09572cbe2 100644
--- a/src/plugins/multimedia/ffmpeg/qwindowscamera.cpp
+++ b/src/plugins/multimedia/ffmpeg/qwindowscamera.cpp
@@ -178,8 +178,6 @@ static ComPtr<IMFMediaType> findVideoType(IMFSourceReader *reader,
class ActiveCamera {
public:
- ActiveCamera() = delete;
-
static std::unique_ptr<ActiveCamera> create(QWindowsCamera &wc, const QCameraDevice &device, const QCameraFormat &format)
{
auto ac = std::unique_ptr<ActiveCamera>(new ActiveCamera(wc));