13
0

use const

This commit is contained in:
Paul Davis 2017-07-25 13:00:14 -04:00
parent 2c0b35fbb1
commit 9da08b5f19

View File

@ -1432,7 +1432,7 @@ DiskReader::refill_midi ()
return 0; return 0;
} }
size_t write_space = _midi_buf->write_space(); const size_t write_space = _midi_buf->write_space();
const bool reversed = _session.transport_speed() < 0.0f; const bool reversed = _session.transport_speed() < 0.0f;
DEBUG_TRACE (DEBUG::DiskIO, string_compose ("MIDI refill, write space = %1 file frame = %2\n", write_space, file_frame[DataType::MIDI])); DEBUG_TRACE (DEBUG::DiskIO, string_compose ("MIDI refill, write space = %1 file frame = %2\n", write_space, file_frame[DataType::MIDI]));