fix: remove needless ::type

This commit is contained in:
ToruNiina 2019-09-28 11:14:14 +09:00
parent 826c9444ac
commit b44fbad925

View File

@ -608,7 +608,7 @@ get_or(const basic_value<C, M, V>& v, const T& opt)
{
try
{
return get<detail::remove_cvref_t<T>>::type>(v);
return get<detail::remove_cvref_t<T>>(v);
}
catch(...)
{
@ -623,7 +623,7 @@ get_or(basic_value<C, M, V>& v, T& opt)
{
try
{
return get<detail::remove_cvref_t<T>>::type>(v);
return get<detail::remove_cvref_t<T>>(v);
}
catch(...)
{