diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-04 02:47:12 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-04 02:49:04 +0200 |
| commit | ee64ca1014ee2bdf07bd5011f6aa9f77da104a4d (patch) | |
| tree | 9918fe906103b4728991cf369d5fe5f92f049287 /dev/libSystem/SystemKit | |
| parent | b1302067703566624390d780dffd621bb99bb439 (diff) | |
feat: kernel: new `kernel` process type, and usage of `explicit operator
bool`
feat: libSystem: minor tweaks.
feat: indexer: important fixes in `RemoveFlag`
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/libSystem/SystemKit')
| -rw-r--r-- | dev/libSystem/SystemKit/Verify.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/libSystem/SystemKit/Verify.h b/dev/libSystem/SystemKit/Verify.h index cbf85830..5ad0dbff 100644 --- a/dev/libSystem/SystemKit/Verify.h +++ b/dev/libSystem/SystemKit/Verify.h @@ -11,7 +11,7 @@ #include <libSystem/SystemKit/System.h> -namespace LibSystem::Detail { +namespace LibSystem::Verify { /// @author 0xf00sec, and Amlal El Mahrouss /// @brief safe cast operator. template <typename T, typename R = VoidPtr> @@ -34,7 +34,7 @@ struct must_cast_traits<T, T> { /// @brief Safe constexpr cast. template <typename T, typename R> inline constexpr R* sys_constexpr_cast(T* ptr) { - static_assert(must_cast_traits<T, R>::value, "constexpr cast failed! types are a mismatch!"); + static_assert(must_cast_traits<T, R>::value, "constexpr cast failed! types are mismatching!"); return static_cast<R*>(ptr); } } // namespace LibSystem::Detail |
