summaryrefslogtreecommitdiff
path: root/muse2/muse/steprec.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-08-22 18:44:42 +0200
committerFlorian Jung <flo@windfisch.org>2013-08-22 18:44:42 +0200
commit8c8b3ac35c12af3817ff8d8c3d169af166821198 (patch)
tree45c4ae839cf6198362957128d75ad022bc224f63 /muse2/muse/steprec.cpp
parent42373397c2e2fbb14e965db6945def6c4a0f03c4 (diff)
more const-correctness for Part*
Diffstat (limited to 'muse2/muse/steprec.cpp')
-rw-r--r--muse2/muse/steprec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/steprec.cpp b/muse2/muse/steprec.cpp
index ab4893d0..44da5a7e 100644
--- a/muse2/muse/steprec.cpp
+++ b/muse2/muse/steprec.cpp
@@ -55,7 +55,7 @@ void StepRec::timeout()
}
}
-void StepRec::record(Part* part, int pitch, int len, int step, int velo, bool ctrl, bool shift, int incoming_pitch)
+void StepRec::record(const Part* part, int pitch, int len, int step, int velo, bool ctrl, bool shift, int incoming_pitch)
{
unsigned tick = MusEGlobal::song->cpos();
unsigned lasttick=0;