Fixed Prevent issue about MISSING_ASSIGN, ASSIGN_NOT_RETURNING_STAR_THIS 44/50444/2
authorWonkeun Oh <wonkeun.oh@samsung.com>
Mon, 26 Oct 2015 05:35:27 +0000 (14:35 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 29 Oct 2015 02:05:13 +0000 (11:05 +0900)
Change-Id: Ib3bc84f3c56f5c32895a7c1734e26bdcaf3c605f
Signed-off-by: Li Zhang <li2012.zhang@samsung.com>
ism/src/scim_transaction.cpp
ism/src/scim_transaction.h

index 97a3ff7..f6a5625 100644 (file)
@@ -170,7 +170,7 @@ Transaction::Transaction (size_t bufsize)
     m_reader->attach (*this);
 }
 
-const Transaction &
+Transaction &
 Transaction::operator = (const Transaction & _tran)
 {
     m_holder->request_buffer_size (_tran.get_size());
index 2427eb2..ca58880 100644 (file)
@@ -107,7 +107,7 @@ public:
      */
     ~Transaction ();
 
-    const Transaction & operator = (const Transaction &);
+    Transaction & operator = (const Transaction &);
 
     /**
      * @brief Check if the transaction is valid.