diff options
Diffstat (limited to 'libs/kstd/tests/os_mock.cpp')
| -rw-r--r-- | libs/kstd/tests/os_mock.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/kstd/tests/os_mock.cpp b/libs/kstd/tests/os_mock.cpp deleted file mode 100644 index 39b7f0d..0000000 --- a/libs/kstd/tests/os_mock.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include <exception> -#include <format> -#include <source_location> -#include <stdexcept> -#include <string_view> - -namespace kstd::os -{ - auto panic(std::string_view message, std::source_location location) - { - auto full_message = - std::format("OS Panic Handler called '{}' at {}:{}", message, location.file_name(), location.line()); - throw std::runtime_error{full_message}; - } -} // namespace kstd::os
\ No newline at end of file |
