From 87b4c390ec76ca4280cdc2d2e5151bb3d90d8afd Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 16 Jul 2024 06:40:14 -0500 Subject: [PATCH] Change std::exception to std::runtime_error for gcc compatibility. --- Adventures in Lestoria/Error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adventures in Lestoria/Error.h b/Adventures in Lestoria/Error.h index 52bb9187..b87d5bdb 100644 --- a/Adventures in Lestoria/Error.h +++ b/Adventures in Lestoria/Error.h @@ -81,7 +81,7 @@ inline std::ofstream debugLogger; inline static void log(std::stringstream&str,std::source_location loc){ debugLogger<DYNAMIC_POINTER_CAST(const std::weak_ptr&variable){ std::shared_ptr newVariable=dynamic_pointer_cast(variable.lock()); if(!newVariable)ERR("Could not dynamic cast to pointer type "<