Fix erasure build
This commit is contained in:
		| @@ -251,7 +251,7 @@ impl WindowUtil for Window { | ||||
|             if erasure::recover( | ||||
|                 id, | ||||
|                 recycler, | ||||
|                 window, | ||||
|                 self, | ||||
|                 *consumed, | ||||
|                 (*consumed % WINDOW_SIZE) as usize, | ||||
|             ).is_err() | ||||
|   | ||||
| @@ -2,8 +2,6 @@ | ||||
| //! | ||||
| use counter::Counter; | ||||
| use crdt::{Crdt, NodeInfo}; | ||||
| #[cfg(feature = "erasure")] | ||||
| use erasure; | ||||
| use log::Level; | ||||
| use packet::{BlobRecycler, SharedBlob}; | ||||
| use rand::{thread_rng, Rng}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user