1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 18:48:01 +02:00

Fixed issue choose 'int unknown' overload over generic method

This commit is contained in:
Brian Fiete 2020-05-29 16:10:16 -07:00
parent c8055f0a38
commit 7bd29b5b69
6 changed files with 84 additions and 10 deletions

View file

@ -350,6 +350,13 @@ public:
return mVals[idx];
}
void GetSafe(intptr idx, T& val)
{
if ((idx < 0) || (idx >= mSize))
return;
val = mVals[idx];
}
T GetLastSafe()
{
if (mSize == 0)