We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9db65 commit 6156a54Copy full SHA for 6156a54
cores/esp8266/PolledTimeout.h
@@ -142,6 +142,7 @@ class timeoutTemplate
142
{
143
public:
144
using timeType = typename TimePolicyT::timeType;
145
+ static_assert(std::is_unsigned<timeType>::value == true, "timeType must be unsigned");
146
147
static constexpr timeType alwaysExpired = 0;
148
static constexpr timeType neverExpires = std::numeric_limits<timeType>::max();
0 commit comments