diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-08 04:46:00 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-08 04:46:00 -0500 |
| commit | cfa04915a4c7d77996b49279b5891d1402f439a5 (patch) | |
| tree | 6418fa73d9f6b7d077edea83b18af586e07b11f9 /include/CompilerKit/Utilities | |
| parent | 2ddaf86857828500235e8b8a65c11bb2dd91b8be (diff) | |
refactor: Refactor `CodeGenerator.h` API.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/Utilities')
| -rw-r--r-- | include/CompilerKit/Utilities/Compiler.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h index 41b7771..0fa95df 100644 --- a/include/CompilerKit/Utilities/Compiler.h +++ b/include/CompilerKit/Utilities/Compiler.h @@ -43,9 +43,7 @@ struct Blob final { std::vector<Char> mBlob{}; // PEF code/bss/data blob. UIntPtr mOffset{0UL}; // the offset of the PEF container header... - explicit operator bool() { - return mBlob.empty() && mOffset > 0UL; - } + explicit operator bool() { return mBlob.empty() && mOffset > 0UL; } }; inline void print_error(STLString reason, STLString file) noexcept { @@ -120,4 +118,4 @@ inline void drvi_crash_handler(std::int32_t id) { std::exit(NECTI_EXEC_ERROR); } -} // namespace Detail +} // namespace CompilerKit::Detail |
