Members not set in assignment constructor. 78/102778/3
authorFrancisco Santos <f1.santos@samsung.com>
Tue, 6 Dec 2016 10:31:50 +0000 (10:31 +0000)
committerFrancisco Santos <f1.santos@samsung.com>
Fri, 16 Dec 2016 16:46:07 +0000 (16:46 +0000)
Change-Id: Ib68aba7f7c2208e496f3b64aef0caa122236f7fb

automated-tests/src/dali/utc-Dali-ConstraintFunction.cpp

index d7ad79ba92c3dc97d9e635524ad48c5d824a451f..2b00329a78974897eb9f0fe0943931db7246bb56 100644 (file)
@@ -304,6 +304,8 @@ struct CountFunctor
 
   CountFunctor& operator=( const CountFunctor& other )
   {
+    this->mCount = other.mCount;
+    ++mCount;
     return *this;
   }