summaryrefslogtreecommitdiff
path: root/muse2/muse/functions.h
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/functions.h
parent42373397c2e2fbb14e965db6945def6c4a0f03c4 (diff)
more const-correctness for Part*
Diffstat (limited to 'muse2/muse/functions.h')
-rw-r--r--muse2/muse/functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/functions.h b/muse2/muse/functions.h
index b746470c..9493caf7 100644
--- a/muse2/muse/functions.h
+++ b/muse2/muse/functions.h
@@ -40,7 +40,7 @@ namespace MusECore {
class Undo;
std::set<const Part*> partlist_to_set(PartList* pl);
-std::set<const Part*> part_to_set(Part* p);
+std::set<const Part*> part_to_set(const Part* p);
std::map<const Event*, const Part*> get_events(const std::set<const Part*>& parts, int range);
//these functions simply do their job, non-interactively