Make ref-object GetReferenceCount as const 52/304252/1
authorEunki Hong <eunkiki.hong@samsung.com>
Sat, 13 Jan 2024 01:10:49 +0000 (10:10 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Sat, 13 Jan 2024 01:10:49 +0000 (10:10 +0900)
Change-Id: I314beb96c3efd6c280465b6deeb5e9a1184b1e61
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali/public-api/object/ref-object.cpp
dali/public-api/object/ref-object.h

index e32300f..9e31e1d 100644 (file)
@@ -65,7 +65,7 @@ void RefObject::Unreference()
   }
 }
 
-uint32_t RefObject::ReferenceCount()
+uint32_t RefObject::ReferenceCount() const
 {
   return mCount;
 }
index 5aab626..999070a 100644 (file)
@@ -65,7 +65,7 @@ public:
    * @SINCE_1_0.0
    * @return The reference count
    */
-  uint32_t ReferenceCount();
+  uint32_t ReferenceCount() const;
 
 protected:
   /**