fixed feature-gated code
This commit is contained in:
+1
-2
@@ -152,8 +152,7 @@ mod tests {
|
|||||||
use crate::{taiko::TaikoGradualDifficulty, Beatmap, Difficulty};
|
use crate::{taiko::TaikoGradualDifficulty, Beatmap, Difficulty};
|
||||||
|
|
||||||
let converted = Beatmap::from_bytes(&[]).unwrap().unchecked_into_converted();
|
let converted = Beatmap::from_bytes(&[]).unwrap().unchecked_into_converted();
|
||||||
let difficulty = Difficulty::new();
|
let mut gradual = TaikoGradualDifficulty::new(Difficulty::new(), &converted);
|
||||||
let mut gradual = TaikoGradualDifficulty::new(&difficulty, &converted);
|
|
||||||
|
|
||||||
// Arc<RwLock<_>> *can* be shared across threads so this should compile
|
// Arc<RwLock<_>> *can* be shared across threads so this should compile
|
||||||
std::thread::spawn(move || {
|
std::thread::spawn(move || {
|
||||||
|
|||||||
Reference in New Issue
Block a user