Fix compilation errors

This commit is contained in:
Ryan Goldstein committed 2019-09-24 19:39:13 -04:00
1 parent 3e8669ea7f
commit 6732fa731d
5 files changed
+54 -8

No files matched your search

+9 -2
View File
@@ -2,8 +2,7 @@ use super::runner;
use crate::event::Event;
use crate::event_loop::EventLoopClosed;
#[derive(Clone)]
pub struct Proxy<T: 'static> {
pub struct Proxy<T: 'static>{
runner: runner::Shared<T>,
}
@@ -17,3 +16,11 @@ impl<T: 'static> Proxy<T> {
Ok(())
}
}
impl<T: 'static> Clone for Proxy<T> {
fn clone(&self) -> Self {
Proxy {
runner: self.runner.clone()
}
}
}