projects
/
platform
/
core
/
uifw
/
dali-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442b2b2
)
Revert "[Tizen] Add assertion to Vector"
author
tscholb
<scholb.kim@samsung.com>
Mon, 1 Nov 2021 07:15:33 +0000
(16:15 +0900)
committer
tscholb
<scholb.kim@samsung.com>
Mon, 1 Nov 2021 07:15:33 +0000
(16:15 +0900)
This reverts commit
a3f2bd06b1b30eebd62f946b5d7e5888ffec018e
.
dali/public-api/common/dali-vector.h
patch
|
blob
|
history
diff --git
a/dali/public-api/common/dali-vector.h
b/dali/public-api/common/dali-vector.h
index 1e8d2308e72d9acf60ed344e2887127a56d05908..fd4565e9c539dcb8e72cc1714668d02daac01908 100644
(file)
--- a/
dali/public-api/common/dali-vector.h
+++ b/
dali/public-api/common/dali-vector.h
@@
-19,7
+19,6
@@
*/
// EXTERNAL INCLUDES
-#include <assert.h>
#include <algorithm>
#include <cstddef>
#include <cstdint> // 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<ItemType*>(VectorBase::mData);
address += index;
return *address;