Skip to content

Commit ecd8abe

Browse files
committed
replace min() with std::min()
1 parent 195258d commit ecd8abe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BluetoothA2DPOutput.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class BluetoothA2DPOutput {
3030
virtual void writeSilence(size_t len) {
3131
uint8_t silence[64] = {};
3232
for (size_t i = 0; i < len; i += sizeof(silence))
33-
write(silence, min(sizeof(silence), len - i));
33+
write(silence, std::min(sizeof(silence), len - i));
3434
}
3535

3636
#if A2DP_I2S_AUDIOTOOLS

0 commit comments

Comments
 (0)