mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Allow RW access to Vector's data.
This commit is contained in:
parent
9b0b3c99e3
commit
c58f1b09d1
@ -57,7 +57,8 @@ public:
|
||||
bool empty() const { return m_size == 0; }
|
||||
size_t size() const { return m_size; }
|
||||
|
||||
const T* data() { return m_ptr; };
|
||||
T* data() { return m_ptr; }
|
||||
const T* data() const { return m_ptr; };
|
||||
|
||||
T* begin() { return m_ptr; }
|
||||
const T* begin() const { return m_ptr; }
|
||||
|
Loading…
Reference in New Issue
Block a user