Merge pull request #722 from diamante0018/diamante0018-patch-419

This commit is contained in:
Edo 2023-01-16 19:34:36 +00:00 committed by GitHub
commit 899caeb357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,8 @@
#include <STDInclude.hpp>
#include "ScriptError.hpp"
#define SCRIPT_ERROR_PATCH
using namespace Utils::String;
namespace Components
@ -899,7 +901,7 @@ namespace Components
ScriptError::ScriptError()
{
#ifdef _DEBUG
#ifdef SCRIPT_ERROR_PATCH
std::vector<std::pair<std::size_t, void*>> patches;
const auto p = [&patches](const std::size_t a, void* b)
{