mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Enforce eframe errors are Send and Sync (#4574)
* Follow-up to https://github.com/emilk/egui/pull/4565
This commit is contained in:
@@ -41,7 +41,7 @@ pub type EventLoopBuilderHook = Box<dyn FnOnce(&mut EventLoopBuilder<UserEvent>)
|
||||
#[cfg(any(feature = "glow", feature = "wgpu"))]
|
||||
pub type WindowBuilderHook = Box<dyn FnOnce(egui::ViewportBuilder) -> egui::ViewportBuilder>;
|
||||
|
||||
type DynError = Box<dyn std::error::Error>;
|
||||
type DynError = Box<dyn std::error::Error + Send + Sync>;
|
||||
|
||||
/// This is how your app is created.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user