mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Const variables.
This commit is contained in:
parent
ef317fa2be
commit
ee273934e3
@ -600,11 +600,11 @@ void View::DrawFrames()
|
||||
idx += group;
|
||||
}
|
||||
|
||||
auto zitbegin = std::lower_bound( m_frames.begin(), m_frames.end(), m_zvStart );
|
||||
auto zitend = std::upper_bound( m_frames.begin(), m_frames.end(), m_zvEnd );
|
||||
const auto zitbegin = std::lower_bound( m_frames.begin(), m_frames.end(), m_zvStart );
|
||||
const auto zitend = std::upper_bound( m_frames.begin(), m_frames.end(), m_zvEnd );
|
||||
|
||||
auto zbegin = (int)std::distance( m_frames.begin(), zitbegin );
|
||||
auto zend = (int)std::distance( m_frames.begin(), zitend );
|
||||
const auto zbegin = (int)std::distance( m_frames.begin(), zitbegin );
|
||||
const auto zend = (int)std::distance( m_frames.begin(), zitend );
|
||||
|
||||
if( zend > m_frameStart && zbegin < m_frameStart + onScreen * group )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user