Преглед на файлове

Make SpricManager cloneable to simplify for clients.

Simon Persson преди 9 години
родител
ревизия
c98ff9bd54
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/spirc.rs

+ 1 - 0
src/spirc.rs

@@ -14,6 +14,7 @@ use std::collections::HashMap;
 use protocol;
 pub use protocol::spirc::{PlayStatus, MessageType};
 
+#[derive(Clone)]
 pub struct SpircManager(Arc<Mutex<SpircInternal>>);
 
 struct SpircInternal {