diff options
Diffstat (limited to 'CompilerKit/AsmKit/AsmKit.cc')
| -rw-r--r-- | CompilerKit/AsmKit/AsmKit.cc | 6 |
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; } |
