patterns: Updated pattern language

This commit is contained in:
WerWolv
2023-08-26 23:31:25 +02:00
parent 886c52b322
commit 32e05cc62f
4 changed files with 4 additions and 2 deletions

View File

@@ -3,4 +3,5 @@
namespace hex::crash {
void setupCrashHandlers();
}

View File

@@ -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<u8> &args);
}

View File

@@ -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()) },
};