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 e32300f8d115e92c1686795c85ef320b39f013a5..9e31e1de0e2e9b1e8fca16c8f0e5f67b4c671985 100644 (file)
@@ -65,7 +65,7 @@ void RefObject::Unreference()
   }
 }
 
-uint32_t RefObject::ReferenceCount()
+uint32_t RefObject::ReferenceCount() const
 {
   return mCount;
 }
index 5aab626c43ed03f8008d16634ae91822e308b90e..999070a2a31061469d7fb51d4cbc218178c2bc6a 100644 (file)
@@ -65,7 +65,7 @@ public:
    * @SINCE_1_0.0
    * @return The reference count
    */
-  uint32_t ReferenceCount();
+  uint32_t ReferenceCount() const;
 
 protected:
   /**