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:
@@ -10,7 +10,7 @@ namespace tracy
|
||||
class TimelineItemPlot final : public TimelineItem
|
||||
{
|
||||
public:
|
||||
TimelineItemPlot( View& view, const Worker& worker, PlotData* plot );
|
||||
TimelineItemPlot( View& view, Worker& worker, PlotData* plot );
|
||||
|
||||
void DrawContents( double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax ) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user