diff --git a/include/REL/ID.h b/include/REL/ID.h index 09d5f25ee..a6214a429 100644 --- a/include/REL/ID.h +++ b/include/REL/ID.h @@ -46,7 +46,7 @@ namespace REL void* _mapping{ nullptr }; void* _view{ nullptr }; }; - } + } class IDDatabase { diff --git a/include/REL/Version.h b/include/REL/Version.h index 04b3ffca8..b6f4ddd91 100644 --- a/include/REL/Version.h +++ b/include/REL/Version.h @@ -2,7 +2,7 @@ namespace REL { - class Version + class Version { public: using value_type = std::uint16_t; @@ -95,7 +95,7 @@ namespace REL Version version; std::wistringstream ss(std::wstring(static_cast(verBuf), verLen)); - std::wstring token; + std::wstring token; for (std::size_t i = 0; i < 4 && std::getline(ss, token, L'.'); ++i) { version[i] = static_cast(std::stoi(token)); } diff --git a/src/REL/Module.cpp b/src/REL/Module.cpp index 1e70aea3e..3a590cf74 100644 --- a/src/REL/Module.cpp +++ b/src/REL/Module.cpp @@ -14,7 +14,7 @@ namespace REL constexpr auto size = std::extent_v; const auto len = std::min(a_elem.first.size(), size); return std::memcmp(a_elem.first.data(), section.name, len) == 0 && - (section.characteristics & a_elem.second) == a_elem.second; + (section.characteristics & a_elem.second) == a_elem.second; }); if (it != SEGMENTS.end()) { const auto idx = static_cast(std::distance(SEGMENTS.begin(), it));