mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-02 19:26:03 +00:00
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…
x
Reference in New Issue
Block a user