Replaced maybe_unused with unnamed parameter

This commit is contained in:
BlackMark 2019-08-14 19:55:06 +02:00
parent 7c21664fe4
commit 16c9015f43

View File

@ -256,7 +256,7 @@ class BlockingHardware {
return HardwareImpl::rxByteBlocking(byte);
}
static bool peek([[maybe_unused]] data_t &byte) FORCE_INLINE
static bool peek(data_t &) FORCE_INLINE
{
static_assert(util::always_false_v<data_t>, "Peek with data is not supported in blocking mode");
return false;