mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Allow explicit setting of vector size.
This commit is contained in:
parent
553e3ca38b
commit
e41ce5523c
@ -54,6 +54,8 @@ public:
|
||||
bool empty() const { return m_size == 0; }
|
||||
size_t size() const { return m_size; }
|
||||
|
||||
void set_size( size_t sz ) { m_size = sz; }
|
||||
|
||||
T* data() { return m_ptr; }
|
||||
const T* data() const { return m_ptr; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user