mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-23 23:13:32 +00:00
MIDIDecoder: Use auto for iterator type
Same thing, significantly less reading.
This commit is contained in:
parent
e7fe7ff49f
commit
068ff29b44
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user