Fix SVACE error in PropertyOwner 71/237471/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 30 Jun 2020 13:09:05 +0000 (14:09 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 30 Jun 2020 13:09:05 +0000 (14:09 +0100)
Change-Id: I290728eb77d4b01cd418564dfcd1e12f3a6ce75e

dali/internal/update/common/property-owner.cpp
dali/internal/update/common/property-owner.h

index fb655e3..0d915a1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -143,6 +143,7 @@ void PropertyOwner::RemoveConstraint( ConstraintBase* constraint )
 }
 
 PropertyOwner::PropertyOwner()
+: mUpdated( false )
 {
 }
 
index d9523e8..e0e15c5 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_SCENE_GRAPH_PROPERTY_OWNER_H
 
 /*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -173,7 +173,7 @@ public:
    * Retrieve if the property owner is updated due to the property is being animating.
    * @return An updated flag
    */
-  bool Updated()
+  bool Updated() const
   {
     return mUpdated;
   }