summaryrefslogtreecommitdiff
path: root/chordNote.cpp
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-03-21 00:57:34 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-03-21 00:57:34 -0400
commit433faac95e86a4ed61176061c4b0e8451cc58bf5 (patch)
treec814a7eeb61aca319c62681288c265a9419cd894 /chordNote.cpp
parent141fd9b9b5b02257521e41e71562bed6da2523dc (diff)
Rename change() to toggle()
Diffstat (limited to 'chordNote.cpp')
-rw-r--r--chordNote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chordNote.cpp b/chordNote.cpp
index cea7ae5..e912a97 100644
--- a/chordNote.cpp
+++ b/chordNote.cpp
@@ -11,7 +11,7 @@ ChordNote::ChordNote(int btn, int startTime, int endTime) {
ChordNote::~ChordNote() {};
-void ChordNote::change(int button) {
+void ChordNote::toggle(int button) {
notes[button] = !notes[button];
};