1
0
mirror of synced 2024-12-01 02:37:18 +01:00

tests: Fixed build

This commit is contained in:
WerWolv 2022-03-03 13:35:12 +01:00
parent 8b2dcf976f
commit 2abf89cd16

View File

@ -28,7 +28,7 @@ static std::string format(hex::pl::Evaluator *ctx, const auto &params) {
auto &param = params[i];
std::visit(hex::overloaded {
[&](const std::shared_ptr<hex::pl::Pattern> &value) {
[&](hex::pl::Pattern *value) {
formatArgs.push_back(value->toString(ctx->getProvider()));
},
[&](auto &&value) {