diff options
Diffstat (limited to 'dev/ZKA/CFKit')
| -rw-r--r-- | dev/ZKA/CFKit/LoaderUtils.hxx | 11 | ||||
| -rw-r--r-- | dev/ZKA/CFKit/Property.hxx | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/dev/ZKA/CFKit/LoaderUtils.hxx b/dev/ZKA/CFKit/LoaderUtils.hxx index 248b18b8..7385fc2e 100644 --- a/dev/ZKA/CFKit/LoaderUtils.hxx +++ b/dev/ZKA/CFKit/LoaderUtils.hxx @@ -27,10 +27,10 @@ namespace Kernel if (!ptrDos) return nullptr; - auto exec = ldr_find_exec_header(ptrDos); + auto exec = ldr_find_exec_header(ptrDos); - if (!exec) - return nullptr; + if (!exec) + return nullptr; return (LDR_OPTIONAL_HEADER_PTR)(VoidPtr)(&exec->mCharacteristics + 1); } @@ -39,15 +39,14 @@ namespace Kernel /// @note overloaded function. inline auto ldr_find_exec_header(const Char* ptrDos) -> LDR_EXEC_HEADER_PTR { - return ldr_find_exec_header((DosHeaderPtr)ptrDos); + return ldr_find_exec_header((DosHeaderPtr)ptrDos); } - /// @brief Find the PE header inside the blob. /// @note overloaded function. inline auto ldr_find_opt_exec_header(const Char* ptrDos) -> LDR_OPTIONAL_HEADER_PTR { - return ldr_find_opt_exec_header((DosHeaderPtr)ptrDos); + return ldr_find_opt_exec_header((DosHeaderPtr)ptrDos); } } // namespace Kernel diff --git a/dev/ZKA/CFKit/Property.hxx b/dev/ZKA/CFKit/Property.hxx index 602c061f..eb9b4816 100644 --- a/dev/ZKA/CFKit/Property.hxx +++ b/dev/ZKA/CFKit/Property.hxx @@ -24,7 +24,7 @@ namespace Kernel class Property { public: - Property() = default; + Property() = default; virtual ~Property(); public: @@ -36,8 +36,8 @@ namespace Kernel StringView& GetKey(); private: - StringView fName{cMaxPropLen}; - PropertyId fAction{No}; + StringView fName{cMaxPropLen}; + PropertyId fAction{No}; }; template <SizeT N> |
