Rename scoped_malloc::data to ::get
This commit is contained in:
parent
c81919dbe7
commit
7576f80b30
@ -37,8 +37,8 @@ public:
|
||||
free (m_data);
|
||||
}
|
||||
|
||||
T* data (void) { return m_data; }
|
||||
const T* data (void) const { return m_data; }
|
||||
T* get (void) { return m_data; }
|
||||
const T* get (void) const { return m_data; }
|
||||
|
||||
bool operator! (void) { return !m_data; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user