mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-22 20:30:11 +00:00
fix: remove needless ::type
This commit is contained in:
parent
826c9444ac
commit
b44fbad925
@ -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(...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user