Skip to content

Commit

Permalink
fixed feature-gated code
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn committed Mar 8, 2024
1 parent b7449b2 commit 179144f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ mod tests {
use crate::{taiko::TaikoGradualDifficulty, Beatmap, Difficulty};

let converted = Beatmap::from_bytes(&[]).unwrap().unchecked_into_converted();
let difficulty = Difficulty::new();
let mut gradual = TaikoGradualDifficulty::new(&difficulty, &converted);
let mut gradual = TaikoGradualDifficulty::new(Difficulty::new(), &converted);

// Arc<RwLock<_>> *can* be shared across threads so this should compile
std::thread::spawn(move || {
Expand Down

0 comments on commit 179144f

Please sign in to comment.