From f398ae2f652034879428e33b7a11c4a03e231a38 Mon Sep 17 00:00:00 2001 From: Faumaray Date: Mon, 20 Oct 2025 01:28:02 +0300 Subject: [PATCH] enforce ctx in constructor Signed-off-by: Faumaray --- include/Mod/Mod.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Mod/Mod.hpp b/include/Mod/Mod.hpp index a0635de..c24f81c 100644 --- a/include/Mod/Mod.hpp +++ b/include/Mod/Mod.hpp @@ -17,7 +17,7 @@ template class Mod : public Base { private: static std::unique_ptr _vl_factory(const Context& ctx) { - if (std::is_constructible_v()) + if (std::is_constructible_v) { return std::make_unique(ctx); }