From 6a7aa84314c5a118aecce4a3b99d2cd8be14fad1 Mon Sep 17 00:00:00 2001 From: Eunki Hong Date: Sat, 13 Jan 2024 10:10:49 +0900 Subject: [PATCH] [Tizen] Make ref-object GetReferenceCount as const Change-Id: I314beb96c3efd6c280465b6deeb5e9a1184b1e61 Signed-off-by: Eunki Hong --- dali/public-api/object/ref-object.cpp | 2 +- dali/public-api/object/ref-object.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dali/public-api/object/ref-object.cpp b/dali/public-api/object/ref-object.cpp index e32300f..9e31e1d 100644 --- a/dali/public-api/object/ref-object.cpp +++ b/dali/public-api/object/ref-object.cpp @@ -65,7 +65,7 @@ void RefObject::Unreference() } } -uint32_t RefObject::ReferenceCount() +uint32_t RefObject::ReferenceCount() const { return mCount; } diff --git a/dali/public-api/object/ref-object.h b/dali/public-api/object/ref-object.h index 5aab626..999070a 100644 --- a/dali/public-api/object/ref-object.h +++ b/dali/public-api/object/ref-object.h @@ -65,7 +65,7 @@ public: * @SINCE_1_0.0 * @return The reference count */ - uint32_t ReferenceCount(); + uint32_t ReferenceCount() const; protected: /** -- 2.7.4