From 4141d6bfd7729cbd6359d9473ed6f6eff68601bc Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 30 Jun 2020 14:09:05 +0100 Subject: [PATCH 1/1] Fix SVACE error in PropertyOwner Change-Id: I290728eb77d4b01cd418564dfcd1e12f3a6ce75e --- dali/internal/update/common/property-owner.cpp | 3 ++- dali/internal/update/common/property-owner.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dali/internal/update/common/property-owner.cpp b/dali/internal/update/common/property-owner.cpp index fb655e3..0d915a1 100644 --- a/dali/internal/update/common/property-owner.cpp +++ b/dali/internal/update/common/property-owner.cpp @@ -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 ) { } diff --git a/dali/internal/update/common/property-owner.h b/dali/internal/update/common/property-owner.h index d9523e8..e0e15c5 100644 --- a/dali/internal/update/common/property-owner.h +++ b/dali/internal/update/common/property-owner.h @@ -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; } -- 2.7.4