[Account] Disabled move and copy operations in AccountInstance.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 11 Jun 2015 07:13:47 +0000 (09:13 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 11 Jun 2015 07:13:47 +0000 (09:13 +0200)
Prevent CID: 388376, 404846

[Verification] TCT pass rate: 100%

Change-Id: Ieb1c60a57357156ab935c6a697715236f41d8c30
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/account/account_instance.h

index 70e0af934e9ab5b8151160ae5ea4f6f3fe2dc5ec..9651cfb6ff88b40c31c08abc3444cbe89861a2dc 100755 (executable)
@@ -34,6 +34,11 @@ class AccountInstance : public common::ParsedInstance {
   void InvokeListener(picojson::object& param);
 
  private:
+  AccountInstance(const AccountInstance&) = delete;
+  AccountInstance(const AccountInstance&&) = delete;
+  AccountInstance& operator=(const AccountInstance&) = delete;
+  AccountInstance& operator=(const AccountInstance&&) = delete;
+
   AccountManager* manager_;
   account_subscribe_h subscribe_;