DISALLOW_COPY_AND_ASSIGN(AppInstaller) 90/35290/3
authorTomasz Iwanek <t.iwanek@samsung.com>
Thu, 5 Feb 2015 15:49:05 +0000 (16:49 +0100)
committerTomasz Iwanek <t.iwanek@samsung.com>
Wed, 18 Feb 2015 09:14:22 +0000 (10:14 +0100)
Change-Id: I641fa3bf29ec3147e54430259eb6a6d87596c202

src/common/app_installer.h

index 2cf98a7..993c67e 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "common/step/step.h"
 #include "utils/logging.h"
+#include "utils/macros.h"
 
 namespace common_installer {
 
@@ -29,15 +30,14 @@ class AppInstaller {
   int Run();
 
  private:
-  AppInstaller(const AppInstaller& /*other*/) = delete;
-  AppInstaller& operator=(const AppInstaller& /*other*/) = delete;
-
   void EnsureSignalSend();
 
   std::list<std::unique_ptr<Step>> steps_;
   std::unique_ptr<ContextInstaller> context_;
 
   SCOPE_LOG_TAG(AppInstaller)
+
+  DISALLOW_COPY_AND_ASSIGN(AppInstaller);
 };
 
 }  // namespace common_installer