From 16c9015f43f5218ce8676098e6de3e16b1a97f9c Mon Sep 17 00:00:00 2001 From: BlackMark Date: Wed, 14 Aug 2019 19:55:06 +0200 Subject: [PATCH] Replaced maybe_unused with unnamed parameter --- hardware.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware.hpp b/hardware.hpp index e61dd6f..c359fb8 100644 --- a/hardware.hpp +++ b/hardware.hpp @@ -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, "Peek with data is not supported in blocking mode"); return false;