CStringList: Simplify assertion in StringByIndex()
This is unsigned, so the lower bound will always be valid.
This commit is contained in:
parent
1c4e8a11d2
commit
46e82a99cc
|
@ -21,7 +21,7 @@ public:
|
|||
|
||||
TString StringByIndex(size_t Index) const
|
||||
{
|
||||
ASSERT(Index >= 0 && Index < mStringList.size());
|
||||
ASSERT(Index < mStringList.size());
|
||||
return mStringList[Index];
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue