Skip to content

Commit

Permalink
Modified call to get<T> to be more standard compliant (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicRey authored and acki-m committed Jan 18, 2019
1 parent 7d6b6e7 commit b3a131c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rttr/detail/registration/bind_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -796,12 +796,12 @@ class registration::bind<detail::enum_, Class_Type, Enum_Type> : public registra

public:
bind(const std::shared_ptr<detail::registration_executer>& reg_exec, string_view name)
: registration_derived_t<Class_Type>(reg_exec), m_reg_exec(reg_exec), m_declared_type(type::get<Class_Type>())
: registration_derived_t<Class_Type>(reg_exec), m_reg_exec(reg_exec), m_declared_type(type::template get<Class_Type>())
{
using namespace detail;

m_reg_exec->add_registration_func(this);
auto t = type::get<Enum_Type>();
auto t = type::template get<Enum_Type>();
type_register::custom_name(t, name);
}

Expand Down

0 comments on commit b3a131c

Please sign in to comment.