diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 13ee59d4..46a70892 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -1498,7 +1498,7 @@ const FrameImage* Worker::GetFrameImage( const FrameData& fd, size_t idx ) const return m_data.frameImage[v]; } -std::pair Worker::GetFrameRange( const FrameData& fd, int64_t from, int64_t to ) +std::pair 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--; diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 8497e2dc..2ff2fc3b 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -269,7 +269,7 @@ public: int64_t GetFrameBegin( const FrameData& fd, size_t idx ) const; int64_t GetFrameEnd( const FrameData& fd, size_t idx ) const; const FrameImage* GetFrameImage( const FrameData& fd, size_t idx ) const; - std::pair GetFrameRange( const FrameData& fd, int64_t from, int64_t to ); + std::pair GetFrameRange( const FrameData& fd, int64_t from, int64_t to ); const flat_hash_map>& GetLockMap() const { return m_data.lockMap; } const Vector& GetMessages() const { return m_data.messages; }