Changeset 2826


Ignore:
Timestamp:
Jul 31, 2013, 3:58:23 PM (7 years ago)
Author:
sam
Message:

base: add Array::Data() method to access the underlying buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/base/array.h

    r2816 r2826  
    137137    }
    138138
     139    inline Element *Data()
     140    {
     141        return m_data;
     142    }
     143
     144    inline Element const *Data() const
     145    {
     146        return m_data;
     147    }
     148
    139149    inline Element const& Last() const
    140150    {
Note: See TracChangeset for help on using the changeset viewer.