diff --git a/include/Mod/Mod.hpp b/include/Mod/Mod.hpp index c24f81c..f229c2b 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 constexpr (std::is_constructible_v) { return std::make_unique(ctx); }