mirror of
https://github.com/yse/easy_profiler.git
synced 2025-01-14 00:27:55 +08:00
#37 Fix typo
This commit is contained in:
parent
48fb240ca0
commit
ac31aee77c
@ -389,7 +389,7 @@ public:
|
||||
// When stack gone empty we can resize buffer to use enough space in the future
|
||||
free(m_buffer);
|
||||
m_maxcapacity = m_capacity = std::max(m_maxcapacity, m_capacity << 1);
|
||||
m_buffer = static_cast<T*>(malloc(m_buffer, m_capacity * sizeof(T)));
|
||||
m_buffer = static_cast<T*>(malloc(m_capacity * sizeof(T)));
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user