mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Cosmetics.
This commit is contained in:
@@ -1498,7 +1498,7 @@ const FrameImage* Worker::GetFrameImage( const FrameData& fd, size_t idx ) const
|
||||
return m_data.frameImage[v];
|
||||
}
|
||||
|
||||
std::pair <int, int> Worker::GetFrameRange( const FrameData& fd, int64_t from, int64_t to )
|
||||
std::pair<int, int> Worker::GetFrameRange( const FrameData& fd, int64_t from, int64_t to )
|
||||
{
|
||||
auto zitbegin = std::lower_bound( fd.frames.begin(), fd.frames.end(), from, [] ( const auto& lhs, const auto& rhs ) { return lhs.start < rhs; } );
|
||||
if( zitbegin == fd.frames.end() ) zitbegin--;
|
||||
|
||||
Reference in New Issue
Block a user