From 32e05cc62f48eb07a92c7e1780ce6b6f914a5fcd Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 26 Aug 2023 23:31:25 +0200 Subject: [PATCH] patterns: Updated pattern language --- lib/external/pattern_language | 2 +- main/include/crash_handlers.hpp | 1 + main/include/messaging.hpp | 1 + main/source/crash_handlers.cpp | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/external/pattern_language b/lib/external/pattern_language index 7eb8d0f6e..9c1477f8e 160000 --- a/lib/external/pattern_language +++ b/lib/external/pattern_language @@ -1 +1 @@ -Subproject commit 7eb8d0f6ef8d8caed167200d677ab3ed7a555254 +Subproject commit 9c1477f8e417552dabe3139f14227ba121137fda diff --git a/main/include/crash_handlers.hpp b/main/include/crash_handlers.hpp index fd4c27bc4..ea38f6299 100644 --- a/main/include/crash_handlers.hpp +++ b/main/include/crash_handlers.hpp @@ -3,4 +3,5 @@ namespace hex::crash { void setupCrashHandlers(); + } \ No newline at end of file diff --git a/main/include/messaging.hpp b/main/include/messaging.hpp index 779fb31d5..ec6244504 100644 --- a/main/include/messaging.hpp +++ b/main/include/messaging.hpp @@ -32,4 +32,5 @@ namespace hex::messaging { * @brief Internal method - called by platform-specific code when a event has been received */ void messageReceived(const std::string &eventName, const std::vector &args); + } diff --git a/main/source/crash_handlers.cpp b/main/source/crash_handlers.cpp index dfb273e65..6bc40f34f 100644 --- a/main/source/crash_handlers.cpp +++ b/main/source/crash_handlers.cpp @@ -43,7 +43,7 @@ namespace hex::crash { static void saveCrashFile(const std::string& message) { log::fatal(message); - nlohmann::json crashData{ + nlohmann::json crashData { { "logFile", wolv::util::toUTF8String(hex::log::impl::getFile().getPath()) }, { "project", wolv::util::toUTF8String(ProjectFile::getPath()) }, };