mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- section fixes.
This commit is contained in:
parent
ad018db80a
commit
b1bf12df9d
3 changed files with 44 additions and 10 deletions
|
@ -1877,18 +1877,20 @@ public:
|
|||
// Return a reference to an element
|
||||
T &operator[] (size_t index) const
|
||||
{
|
||||
assert(index < Count);
|
||||
return Array[index];
|
||||
}
|
||||
// Returns a reference to the last element
|
||||
T &Last() const
|
||||
{
|
||||
assert(Count > 0);
|
||||
return Array[Count - 1];
|
||||
}
|
||||
|
||||
// returns address of first element
|
||||
T *Data() const
|
||||
{
|
||||
return &Array[0];
|
||||
return Array;
|
||||
}
|
||||
|
||||
unsigned Size() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue