diff options
author | Florian Jung <flo@windfisch.org> | 2013-08-22 18:44:42 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-08-22 18:44:42 +0200 |
commit | 8c8b3ac35c12af3817ff8d8c3d169af166821198 (patch) | |
tree | 45c4ae839cf6198362957128d75ad022bc224f63 /muse2/muse/part.h | |
parent | 42373397c2e2fbb14e965db6945def6c4a0f03c4 (diff) |
more const-correctness for Part*
Diffstat (limited to 'muse2/muse/part.h')
-rw-r--r-- | muse2/muse/part.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/part.h b/muse2/muse/part.h index ea19410d..5523e71d 100644 --- a/muse2/muse/part.h +++ b/muse2/muse/part.h @@ -186,7 +186,7 @@ class PartList : public std::multimap<int, Part*, std::less<unsigned> > { iPart findPart(unsigned tick); iPart add(Part*); void remove(Part* part); - int index(Part*); + int index(const Part*) const; Part* find(int idx); void clearDelete() { for (iPart i = begin(); i != end(); ++i) |