diff --git a/src/rttr/detail/registration/bind_impl.h b/src/rttr/detail/registration/bind_impl.h index b602674e..7bb63278 100644 --- a/src/rttr/detail/registration/bind_impl.h +++ b/src/rttr/detail/registration/bind_impl.h @@ -796,12 +796,12 @@ class registration::bind : public registra public: bind(const std::shared_ptr& reg_exec, string_view name) - : registration_derived_t(reg_exec), m_reg_exec(reg_exec), m_declared_type(type::get()) + : registration_derived_t(reg_exec), m_reg_exec(reg_exec), m_declared_type(type::template get()) { using namespace detail; m_reg_exec->add_registration_func(this); - auto t = type::get(); + auto t = type::template get(); type_register::custom_name(t, name); }