Worker must be mutable.

This is to allow use of various accessors that cache results, etc.
This commit is contained in:
Bartosz Taudul
2022-09-03 18:34:11 +02:00
parent b481bb367c
commit 119152aac1
6 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
namespace tracy
{
TimelineController::TimelineController( View& view, const Worker& worker )
TimelineController::TimelineController( View& view, Worker& worker )
: m_height( 0 )
, m_offset( 0 )
, m_scroll( 0 )