mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Add direct data accessor to tracy::Vector.
This commit is contained in:
parent
e4c5e5c097
commit
e2cd3106ae
@ -53,6 +53,8 @@ public:
|
||||
bool empty() const { return m_size == 0; }
|
||||
size_t size() const { return m_size; }
|
||||
|
||||
const T* data() { return m_ptr; };
|
||||
|
||||
T* begin() { return m_ptr; }
|
||||
const T* begin() const { return m_ptr; }
|
||||
T* end() { return m_ptr + m_size; }
|
||||
|
Loading…
Reference in New Issue
Block a user