From 33a8f601e33017f8cacdb66c1261f185faab5e8f Mon Sep 17 00:00:00 2001 From: tscholb Date: Mon, 1 Nov 2021 16:15:33 +0900 Subject: [PATCH] Revert "[Tizen] Add assertion to Vector" This reverts commit a3f2bd06b1b30eebd62f946b5d7e5888ffec018e. --- dali/public-api/common/dali-vector.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dali/public-api/common/dali-vector.h b/dali/public-api/common/dali-vector.h index 1e8d230..fd4565e 100644 --- a/dali/public-api/common/dali-vector.h +++ b/dali/public-api/common/dali-vector.h @@ -19,7 +19,6 @@ */ // EXTERNAL INCLUDES -#include #include #include #include // uint32_t @@ -550,10 +549,6 @@ public: // API { DALI_ASSERT_VECTOR(VectorBase::mData && "Vector is empty"); DALI_ASSERT_VECTOR(index < VectorBase::Count() && "Index out of bounds"); - if(index >= VectorBase::Count()) - { - assert(0); - } ItemType* address = reinterpret_cast(VectorBase::mData); address += index; return *address; -- 2.7.4