From 1a9b75fc21606d8d9ebda3092c65989b3104d775 Mon Sep 17 00:00:00 2001 From: Simon Gagne Date: Tue, 21 Mar 2023 13:16:41 -0400 Subject: Merge chart file --- song.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'song.cpp') 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*chords = &expert; - chords->trim(); + //std::vector *chords = &expert; + for (int i = 0; i < expert.size(); i++) + { + expert[i].trim(); + } } -- cgit v1.2.3