From 2142b2c5b51c80a5e08387574ce2c0a605cee7f4 Mon Sep 17 00:00:00 2001 From: codereader Date: Sun, 7 Jan 2024 07:06:16 +0100 Subject: [PATCH] Compilation fix --- radiantcore/map/Map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiantcore/map/Map.cpp b/radiantcore/map/Map.cpp index da19a8b694..f41934b777 100644 --- a/radiantcore/map/Map.cpp +++ b/radiantcore/map/Map.cpp @@ -1494,7 +1494,7 @@ void Map::emitMapEvent(MapEvent ev) } catch (std::runtime_error & ex) { - radiant::NotificationMessage::SendError(fmt::format(_("Failure running map event {0}:\n{1}"), ev, ex.what())); + radiant::NotificationMessage::SendError(fmt::format(_("Failure running map event {0}:\n{1}"), static_cast(ev), ex.what())); } }