mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Worker must be mutable.
This is to allow use of various accessors that cache results, etc.
This commit is contained in:
@@ -23,7 +23,7 @@ class TimelineController
|
||||
};
|
||||
|
||||
public:
|
||||
TimelineController( View& view, const Worker& worker );
|
||||
TimelineController( View& view, Worker& worker );
|
||||
|
||||
void FirstFrameExpired();
|
||||
void Begin();
|
||||
@@ -73,7 +73,7 @@ private:
|
||||
bool m_firstFrame;
|
||||
|
||||
View& m_view;
|
||||
const Worker& m_worker;
|
||||
Worker& m_worker;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user