diff --git a/include/RE/B/BSPointerHandle.h b/include/RE/B/BSPointerHandle.h index 4791ff04..77577005 100644 --- a/include/RE/B/BSPointerHandle.h +++ b/include/RE/B/BSPointerHandle.h @@ -60,7 +60,6 @@ namespace RE } private: - HandleType _handle{ 0 }; // 00 }; @@ -74,7 +73,8 @@ namespace RE template BSPointerHandle(BSPointerHandle a_rhs) noexcept - requires(std::convertible_to) : + requires(std::convertible_to) + : _handle(a_rhs._handle) {} @@ -136,7 +136,7 @@ namespace RE public: static bool GetSmartPointer(const BSPointerHandle& a_in, NiPointer& a_out) { - using func_t = bool(*)(const BSPointerHandle& a_in, NiPointer& a_out); + using func_t = bool (*)(const BSPointerHandle& a_in, NiPointer& a_out); static REL::Relocation func{ ID::BSPointerHandleManagerInterface::GetSmartPointer }; return func(a_in, a_out); } diff --git a/include/RE/T/TES.h b/include/RE/T/TES.h index 7731b41d..331f9a52 100644 --- a/include/RE/T/TES.h +++ b/include/RE/T/TES.h @@ -35,8 +35,8 @@ namespace RE } // members - std::byte pad[0xD8]; // 010 - TESObjectCELL* interiorCell; // 0E8 + std::byte pad[0xD8]; // 010 + TESObjectCELL* interiorCell; // 0E8 }; static_assert(offsetof(TES, interiorCell) == 0xE8); } diff --git a/include/RE/T/TESFaction.h b/include/RE/T/TESFaction.h index 380c9f5d..7e16d5ef 100644 --- a/include/RE/T/TESFaction.h +++ b/include/RE/T/TESFaction.h @@ -5,7 +5,7 @@ namespace RE { - class TESReactionForm : + class TESReactionForm : public BaseFormComponent // 00 { public: diff --git a/include/RE/T/TESPackage.h b/include/RE/T/TESPackage.h index b4cce708..d332383f 100644 --- a/include/RE/T/TESPackage.h +++ b/include/RE/T/TESPackage.h @@ -20,7 +20,6 @@ namespace RE struct PackageLocation { - }; struct PackageTarget diff --git a/include/RE/U/UIMessageQueue.h b/include/RE/U/UIMessageQueue.h index c031916b..599e51f3 100644 --- a/include/RE/U/UIMessageQueue.h +++ b/include/RE/U/UIMessageQueue.h @@ -25,7 +25,7 @@ namespace RE virtual ~UIMessageData() = default; UI_MESSAGE_TYPE type; // 08 - //...more? + //...more? }; enum UI_MESSAGE_RESULT : std::int64_t diff --git a/include/REL/Relocation.h b/include/REL/Relocation.h index 09ba7c0d..4a73f2b8 100644 --- a/include/REL/Relocation.h +++ b/include/REL/Relocation.h @@ -152,7 +152,7 @@ namespace REL template bool EmplaceVTable(T* a_ptr) { - auto address = T::VTABLE[0].address(); + auto address = T::VTABLE[0].address(); if (address) { reinterpret_cast(a_ptr)[0] = address; return true;