From 2abf89cd163c33e345f6f4856b65055d1295c437 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 3 Mar 2022 13:35:12 +0100 Subject: [PATCH] tests: Fixed build --- tests/pattern_language/source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pattern_language/source/main.cpp b/tests/pattern_language/source/main.cpp index 689f792d7..066871971 100644 --- a/tests/pattern_language/source/main.cpp +++ b/tests/pattern_language/source/main.cpp @@ -28,7 +28,7 @@ static std::string format(hex::pl::Evaluator *ctx, const auto ¶ms) { auto ¶m = params[i]; std::visit(hex::overloaded { - [&](const std::shared_ptr &value) { + [&](hex::pl::Pattern *value) { formatArgs.push_back(value->toString(ctx->getProvider())); }, [&](auto &&value) {