mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
build: Move all demangler uses into the trace library
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
#include <hex/providers/provider.hpp>
|
||||
#include <hex/helpers/http_requests.hpp>
|
||||
#include <hex/trace/stacktrace.hpp>
|
||||
|
||||
#include <pl/core/token.hpp>
|
||||
#include <pl/core/evaluator.hpp>
|
||||
|
||||
#include <content/helpers/demangle.hpp>
|
||||
#include <pl/patterns/pattern.hpp>
|
||||
|
||||
namespace hex::plugin::builtin {
|
||||
@@ -75,7 +75,7 @@ namespace hex::plugin::builtin {
|
||||
ContentRegistry::PatternLanguage::addFunction(nsHexDec, "demangle", FunctionParameterCount::exactly(1), [](Evaluator *, auto params) -> std::optional<Token::Literal> {
|
||||
const auto mangledString = params[0].toString(false);
|
||||
|
||||
return hex::plugin::builtin::demangle(mangledString);
|
||||
return trace::demangle(mangledString);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user