mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 10:28:09 +08:00
fix: remove needless ::type
This commit is contained in:
@@ -608,7 +608,7 @@ get_or(const basic_value<C, M, V>& v, const T& opt)
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return get<detail::remove_cvref_t<T>>::type>(v);
|
return get<detail::remove_cvref_t<T>>(v);
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
@@ -623,7 +623,7 @@ get_or(basic_value<C, M, V>& v, T& opt)
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return get<detail::remove_cvref_t<T>>::type>(v);
|
return get<detail::remove_cvref_t<T>>(v);
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user