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:
ddef376
)
[Tizen] Fix wrong condition
34/266234/1
accepted/tizen/unified/20211111.120213
submit/tizen/20211111.063012
author
Heeyong Song
<heeyong.song@samsung.com>
Tue, 9 Nov 2021 10:40:34 +0000
(19:40 +0900)
committer
Heeyong 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
patch
|
blob
|
history
diff --git
a/dali/public-api/common/dali-vector.h
b/dali/public-api/common/dali-vector.h
index
dbba5b6
..
949cec4
100644
(file)
--- a/
dali/public-api/common/dali-vector.h
+++ b/
dali/public-api/common/dali-vector.h
@@
-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();
}