]> Devoid-pointer.net GitWeb - FFBChecker.git/commitdiff
Use deleted instead of private constructors
authorMichal Malý <madcatxster@devoid-pointer.net>
Fri, 31 Jul 2015 00:28:07 +0000 (02:28 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Fri, 31 Jul 2015 00:28:07 +0000 (02:28 +0200)
linuxffbeffectfactory.h

index 6965b4f40b81092637980f20efdffdcfefd273bb..3f6a136737c96a390cedb07c600527bc2ca35e1d 100644 (file)
@@ -14,9 +14,7 @@ class LinuxFFBEffectFactory
 public:
   static std::shared_ptr<FFBEffect> createEffect(FFBEffectTypes type);
 
-private:
-  LinuxFFBEffectFactory() {};
-
+  LinuxFFBEffectFactory() = delete;
 };
 
 #endif // LINUXFFBEFFECTFACTORY_H