nnc: fix AbstractModule copy and assignment operator (#307)
authorVitaliy Cherepanov/AI Tools Lab/Engineer/삼성전자 <v.cherepanov@samsung.com>
Tue, 5 Jun 2018 10:28:08 +0000 (13:28 +0300)
committerSergey Vostokov/AI Tools Lab/Staff Engineer/삼성전자 <s.vostokov@samsung.com>
Tue, 5 Jun 2018 10:28:08 +0000 (13:28 +0300)
nnc: fix AbstractModule copy and assignment operator

This commit delete copy and assignment operator
from singleton base class

Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
contrib/nnc/include/module/AbstractModule.h

index d4a4ec5..ee2da85 100644 (file)
@@ -16,8 +16,8 @@ namespace module
 class AbstractModule
 {
 public:
-  AbstractModule(AbstractModule const &) = delete;
-  void operator=(AbstractModule &) = delete;
+  AbstractModule(const AbstractModule &) = delete;
+  AbstractModule &operator=(const AbstractModule &) = delete;
 
   void registerPlugin(std::shared_ptr<plugin::PluginProxy> &pl);
   virtual void *execute(void *data);