diff options
author | Florian Jung <flo@windfisch.org> | 2013-08-19 22:10:22 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-08-19 22:10:22 +0200 |
commit | 013294f58a6433671da3b34775de5a3a7ea91464 (patch) | |
tree | 7a1135f74c798f78c802c8c4e4ca4f9b0c293baa /muse2/muse/event.cpp | |
parent | 67c0ed979d4dd05c1d51b688c2fb02ebc681afd1 (diff) |
some const-correctness. Part interface overhaul.
various fixes.
Diffstat (limited to 'muse2/muse/event.cpp')
-rw-r--r-- | muse2/muse/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/event.cpp b/muse2/muse/event.cpp index 73611448..065a49cf 100644 --- a/muse2/muse/event.cpp +++ b/muse2/muse/event.cpp @@ -203,7 +203,7 @@ void Event::read(Xml& xml) void Event::write(int a, Xml& xml, const Pos& o, bool forceWavePaths) const { ev->write(a, xml, o, forceWavePaths); } void Event::dump(int n) const { ev->dump(n); } -Event Event::mid(unsigned a, unsigned b) { return Event(ev->mid(a, b)); } +Event Event::mid(unsigned a, unsigned b) const { return Event(ev->mid(a, b)); } bool Event::isNote() const { return ev->isNote(); } bool Event::isNoteOff() const { return ev->isNoteOff(); } |