PerformanceTracker: Add ownership of m_log_name.

This commit is contained in:
Sam Belliveau
2022-12-30 14:56:08 -05:00
committed by Admiral H. Curtiss
parent bc46089ab0
commit 588a72a4fc
3 changed files with 11 additions and 8 deletions

View File

@ -34,7 +34,7 @@ public:
private:
PerformanceTracker m_fps_counter{"render_times.txt"};
PerformanceTracker m_vps_counter{"vblank_times.txt"};
PerformanceTracker m_speed_counter{nullptr, 500000};
PerformanceTracker m_speed_counter{std::nullopt, 500000};
};
extern PerformanceMetrics g_perf_metrics;