Rename scoped_malloc::data to ::get

This commit is contained in:
Danny Robson 2012-05-11 12:19:06 +10:00
parent c81919dbe7
commit 7576f80b30

View File

@ -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; }