[Tizen] Fix moving a reference with std::move in LRUCacheContainer 80/318380/1 accepted/tizen/9.0/unified/20250117.022457
authorANZ1217 <chihun.jeong@samsung.com>
Thu, 16 Jan 2025 06:47:33 +0000 (15:47 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 16 Jan 2025 07:25:59 +0000 (16:25 +0900)
Change-Id: I2ffe44ab4d75bc64fc7903a303d60ed00e4f3db5

dali/internal/text/text-abstraction/plugin/lru-cache-container.h

index 50b57b9947bf1a57f34d7094a20e0e3506105613..1f0888470428e027aa69cc4f22821a41fa7a5c9c 100644 (file)
@@ -109,14 +109,14 @@ public:
 
     // Move constructor & assign
     iterator(iterator&& rhs)
-    : owner(std::move(rhs.owner)),
+    : owner(rhs.owner),
       id(rhs.id)
     {
     }
 
     iterator& operator=(iterator&& rhs)
     {
-      this->owner = std::move(rhs.owner);
+      this->owner = rhs.owner;
       this->id    = rhs.id;
       return *this;
     }