CStringList: Simplify assertion in StringByIndex()

This is unsigned, so the lower bound will always be valid.
This commit is contained in:
Lioncash 2020-06-28 01:07:37 -04:00
parent 1c4e8a11d2
commit 46e82a99cc
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ public:
TString StringByIndex(size_t Index) const
{
ASSERT(Index >= 0 && Index < mStringList.size());
ASSERT(Index < mStringList.size());
return mStringList[Index];
}
};