diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-30 15:54:13 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-30 15:54:13 +0000 |
commit | eaa7cc5a73416c4b8672ccbf8e53c049e7279285 (patch) | |
tree | 6ea2bb241ba27f90464fb3c1c7596d77e61fe6cd /libs/midi++2/midi++/port.h | |
parent | f99dc6d2ab5acd69268f993ea2bb628d70728426 (diff) |
fix up some const-ness issues starting from Evoral::Event::set(), and intersect with removing Mackie..MidiByteArray::bytes() method which made a copy of the data every time we wrote it
git-svn-id: svn://localhost/ardour2/branches/3.0@12124 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/midi++/port.h')
-rw-r--r-- | libs/midi++2/midi++/port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/midi++2/midi++/port.h b/libs/midi++2/midi++/port.h index a2315f7284..40a413f562 100644 --- a/libs/midi++2/midi++/port.h +++ b/libs/midi++2/midi++/port.h @@ -67,7 +67,7 @@ class Port { * @param timestamp Time stamp in frames of this message (relative to cycle start) * @return number of bytes successfully written */ - virtual int write (byte *msg, size_t msglen, timestamp_t timestamp) = 0; + virtual int write (const byte *msg, size_t msglen, timestamp_t timestamp) = 0; /** Read raw bytes from a port. * @param buf memory to store read data in |