From b3a131cf6a42c8bbcd7dd75c2acc9c61c0722775 Mon Sep 17 00:00:00 2001 From: CosmicRey Date: Fri, 18 Jan 2019 10:25:46 -0800 Subject: [PATCH] Modified call to get to be more standard compliant (#216) --- src/rttr/detail/registration/bind_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }