summaryrefslogtreecommitdiff
path: root/song.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'song.cpp')
-rw-r--r--song.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/song.cpp b/song.cpp
index 9ac5f91..84c962d 100644
--- a/song.cpp
+++ b/song.cpp
@@ -323,8 +323,11 @@ std::string Song::getAudioFile(){
void Song::trim(int difficulty){
// TODO: make this fuction use the difficulty parameter
- std::vector<ChordNote>*chords = &expert;
- chords->trim();
+ //std::vector<ChordNote> *chords = &expert;
+ for (int i = 0; i < expert.size(); i++)
+ {
+ expert[i].trim();
+ }
}