From 42c94f9db96a63d2bf83ea33530b10cf2b2754ab Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 30 Jul 2020 12:40:05 +0200 Subject: [PATCH] [egui] fix build without "with_serde" feature --- egui/src/demos/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/egui/src/demos/app.rs b/egui/src/demos/app.rs index 010c41bc..22fcd83f 100644 --- a/egui/src/demos/app.rs +++ b/egui/src/demos/app.rs @@ -144,6 +144,7 @@ impl app::App for DemoApp { self.ui(ui, web_location_hash); } + #[cfg(feature = "with_serde")] fn on_exit(&mut self, storage: &mut dyn app::Storage) { app::set_value(storage, app::APP_KEY, self); }