From 6639b8d12144f73a421ab50016b5b2677a6570b0 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Tue, 12 Nov 2024 19:34:01 -0300 Subject: [PATCH] refactor(Template): remove unused parameter --- src/lib/Metadata/Template.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/Metadata/Template.cpp b/src/lib/Metadata/Template.cpp index 0aa7f36a3..5c845db37 100644 --- a/src/lib/Metadata/Template.cpp +++ b/src/lib/Metadata/Template.cpp @@ -119,11 +119,11 @@ tag_invoke( dom::LazyObjectMapTag, IO& io, TArg const& I, - DomCorpus const* domCorpus) + DomCorpus const*) { io.map("kind", toString(I.Kind)); io.map("is-pack", I.IsPackExpansion); - visit(I, [domCorpus, &io](const T& t) { + visit(I, [&io](const T& t) { if constexpr(T::isType()) { io.map("type", t.Type);