mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Implement check for empty plot.
This commit is contained in:
@@ -14,6 +14,11 @@ TimelineItemPlot::TimelineItemPlot( View& view, Worker& worker, PlotData* plot )
|
||||
{
|
||||
}
|
||||
|
||||
bool TimelineItemPlot::IsEmpty() const
|
||||
{
|
||||
return m_plot->data.empty();
|
||||
}
|
||||
|
||||
const char* TimelineItemPlot::HeaderLabel() const
|
||||
{
|
||||
static char tmp[1024];
|
||||
|
||||
Reference in New Issue
Block a user