Mark GetSelectThread() const.

This commit is contained in:
Bartosz Taudul
2026-04-30 21:38:33 +02:00
parent 529c688ff2
commit cf2c07d905

View File

@@ -168,7 +168,7 @@ public:
void HighlightThread( uint64_t thread );
void SelectThread( uint64_t thread );
uint64_t GetSelectThread() { return m_selectedThread; }
uint64_t GetSelectThread() const { return m_selectedThread; }
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
bool DrawPlot( const TimelineContext& ctx, PlotData& plot, const std::vector<uint32_t>& plotDraw, int& offset, bool rightEnd );
void DrawThread( const TimelineContext& ctx, const ThreadData& thread, const std::vector<TimelineDraw>& draw, const std::vector<ContextSwitchDraw>& ctxDraw, const std::vector<SamplesDraw>& samplesDraw, const std::vector<std::unique_ptr<LockDraw>>& lockDraw, int& offset, int depth, bool hasCtxSwitches, bool hasSamples );