From b960a3bc9800ff689e31ca94263ed9aaa2921a96 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 21 Jan 2024 10:47:26 +0100 Subject: CompilerKit: Replace kAsmFileExt64x0 with array kAsmFileExts. Signed-off-by: Amlal El Mahrouss --- CompilerKit/AsmKit/AsmKit.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CompilerKit/AsmKit/AsmKit.cc') diff --git a/CompilerKit/AsmKit/AsmKit.cc b/CompilerKit/AsmKit/AsmKit.cc index 3118e56..1e8ec4a 100644 --- a/CompilerKit/AsmKit/AsmKit.cc +++ b/CompilerKit/AsmKit/AsmKit.cc @@ -13,7 +13,7 @@ #include //! @file AsmKit.cpp -//! @brief AssemblyKit +//! @brief AssemblyKit source implementation. namespace CompilerKit { @@ -32,7 +32,9 @@ namespace CompilerKit void AssemblyFactory::Mount(AssemblyMountpoint* mountPtr) noexcept { if (mountPtr) + { fMounted = mountPtr; + } } AssemblyMountpoint* AssemblyFactory::Unmount() noexcept @@ -40,7 +42,9 @@ namespace CompilerKit auto mount_prev = fMounted; if (mount_prev) + { fMounted = nullptr; + } return mount_prev; } -- cgit v1.2.3