[Tizen] Fix wrong condition 34/266234/1 accepted/tizen/unified/20211111.120213 submit/tizen/20211111.063012
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 9 Nov 2021 10:40:34 +0000 (19:40 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 9 Nov 2021 10:41:39 +0000 (19:41 +0900)
Change-Id: I37cd995142424c50410877fd987267b5866c0bab

dali/public-api/common/dali-vector.h

index dbba5b6..949cec4 100644 (file)
@@ -548,7 +548,7 @@ public: // API
   const ItemType& operator[](SizeType index) const
   {
     DALI_ASSERT_VECTOR(VectorBase::mData && "Vector is empty");
-    if(index < VectorBase::Count())
+    if(index >= VectorBase::Count())
     {
       std::abort();
     }