diff options
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/except.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zencore/include/zencore/except.h b/zencore/include/zencore/except.h index 782dbeed0..2357ba1b5 100644 --- a/zencore/include/zencore/except.h +++ b/zencore/include/zencore/except.h @@ -4,6 +4,7 @@ #include <zencore/string.h> #include <zencore/windows.h> +#include <source_location> #include <string> namespace zen { @@ -52,5 +53,7 @@ ThrowSystemException(const char* Message) } ZENCORE_API void ThrowLastError(std::string_view Message); +ZENCORE_API void ThrowLastError(std::string_view Message, const std::source_location& Location); + } // namespace zen |