summaryrefslogtreecommitdiffhomepage
path: root/CompilerKit/AsmKit/AsmKit.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-21 10:47:26 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-21 10:47:26 +0100
commitb960a3bc9800ff689e31ca94263ed9aaa2921a96 (patch)
treeaaa5a3e9d38ea9a0244f445402dfdf893753739b /CompilerKit/AsmKit/AsmKit.cc
parent0f8af01ad3a8c5a47821d23333568732f21131a5 (diff)
CompilerKit: Replace kAsmFileExt64x0 with array kAsmFileExts.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerKit/AsmKit/AsmKit.cc')
-rw-r--r--CompilerKit/AsmKit/AsmKit.cc6
1 files changed, 5 insertions, 1 deletions
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 <iostream>
//! @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;
}