Skip to content

Commit

Permalink
fix: clone on vec
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Apr 1, 2024
1 parent 8078049 commit 8034bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/audio_structures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl AudioObject for Source {
}

fn volume(&self) -> Vec<u32> {
self.volume
self.volume.clone()
}

fn index(&self) -> u32 {
Expand Down

0 comments on commit 8034bef

Please sign in to comment.