From b20ecf056d2c3100e4934e719c9f2018621e847f Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Fri, 15 May 2015 23:12:33 +0200 Subject: [PATCH] Namespaces, not ctor-deleted classes Stupid. --- src/platform/camera/directshow.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/platform/camera/directshow.h b/src/platform/camera/directshow.h index c998ea4c9..22b35ab6b 100644 --- a/src/platform/camera/directshow.h +++ b/src/platform/camera/directshow.h @@ -9,13 +9,9 @@ #error "This file is only meant to be compiled for Windows targets" #endif -class DirectShow +namespace DirectShow { -public: - static QVector> getDeviceList(); - -private: - DirectShow()=delete; -}; + QVector> getDeviceList(); +} #endif // DIRECTSHOW_H