From cd1e4c573a963d25db78c12daf998dd059a2f5c1 Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Sun, 7 Jul 2024 15:52:14 +0900 Subject: [PATCH] Remove dead code (`EpiIntegration::frame_start`) (#4790) `frame_start` appears to be deprecated now. ( Am I wrong? ) It would be a good idea to add `#[allow(dead_code)]` or remove `frame_start`. --- crates/eframe/src/native/epi_integration.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/eframe/src/native/epi_integration.rs b/crates/eframe/src/native/epi_integration.rs index 46ad6681..c033eeef 100644 --- a/crates/eframe/src/native/epi_integration.rs +++ b/crates/eframe/src/native/epi_integration.rs @@ -154,7 +154,6 @@ pub struct EpiIntegration { last_auto_save: Instant, pub beginning: Instant, is_first_frame: bool, - pub frame_start: Instant, pub egui_ctx: egui::Context, pending_full_output: egui::FullOutput, @@ -227,7 +226,6 @@ impl EpiIntegration { app_icon_setter, beginning: Instant::now(), is_first_frame: true, - frame_start: Instant::now(), } }