mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Fixed issue choose 'int unknown' overload over generic method
This commit is contained in:
parent
c8055f0a38
commit
7bd29b5b69
6 changed files with 84 additions and 10 deletions
|
@ -112,6 +112,13 @@ public:
|
|||
return mVals[idx];
|
||||
}
|
||||
|
||||
void GetSafe(intptr idx, T& val)
|
||||
{
|
||||
if ((idx < 0) || (idx >= mSize))
|
||||
return;
|
||||
val = mVals[idx];
|
||||
}
|
||||
|
||||
Iterator begin() const
|
||||
{
|
||||
return mVals;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue