MIDIDecoder: Use auto for iterator type

Same thing, significantly less reading.
This commit is contained in:
Lioncash 2019-08-24 22:49:13 -04:00
parent e7fe7ff49f
commit 068ff29b44
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ std::optional<uint32_t> readContinuedValue(std::vector<uint8_t>::const_iterator&
std::vector<uint8_t>::const_iterator MIDIDecoder::receiveBytes(std::vector<uint8_t>::const_iterator begin,
std::vector<uint8_t>::const_iterator end) {
std::vector<uint8_t>::const_iterator it = begin;
auto it = begin;
while (it != end) {
uint8_t a = *it++;
uint8_t b;