ref: format

This commit is contained in:
Samsonium
2026-09-28 16:48:42 +03:00
parent 737ec46a06
commit 433407cc9d
8 changed files with 41 additions and 19 deletions
+4 -2
View File
@@ -2,12 +2,14 @@
#define __MSC_REV_RANGE_HPP__
#include <cstdint>
struct MscRevisionRange {
struct MscRevisionRange
{
uint16_t minRevision;
uint16_t maxRevision;
/// Check provided revision to be in range
bool isSatisfied(uint16_t rev) const {
bool isSatisfied(uint16_t rev) const
{
return rev >= this->minRevision && rev <= this->maxRevision;
}
};