From 74337bcad01fa0cdf02b4df8bedce9c23177ccbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Fri, 31 Jul 2015 02:28:07 +0200 Subject: [PATCH] Use deleted instead of private constructors --- linuxffbeffectfactory.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/linuxffbeffectfactory.h b/linuxffbeffectfactory.h index 6965b4f..3f6a136 100644 --- a/linuxffbeffectfactory.h +++ b/linuxffbeffectfactory.h @@ -14,9 +14,7 @@ class LinuxFFBEffectFactory public: static std::shared_ptr createEffect(FFBEffectTypes type); -private: - LinuxFFBEffectFactory() {}; - + LinuxFFBEffectFactory() = delete; }; #endif // LINUXFFBEFFECTFACTORY_H -- 2.43.5