mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 21:47:45 +00:00
CStringList: Simplify assertion in StringByIndex()
This is unsigned, so the lower bound will always be valid.
This commit is contained in:
@@ -21,7 +21,7 @@ public:
|
||||
|
||||
TString StringByIndex(size_t Index) const
|
||||
{
|
||||
ASSERT(Index >= 0 && Index < mStringList.size());
|
||||
ASSERT(Index < mStringList.size());
|
||||
return mStringList[Index];
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user