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