소스 검색

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 {