From: Eunki Hong Date: Sat, 13 Jan 2024 01:10:49 +0000 (+0900) Subject: [Tizen] Make ref-object GetReferenceCount as const X-Git-Tag: accepted/tizen/8.0/unified/20240122.175513^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F56%2F304256%2F1;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] Make ref-object GetReferenceCount as const Change-Id: I314beb96c3efd6c280465b6deeb5e9a1184b1e61 Signed-off-by: Eunki Hong --- 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: /**