mirror of https://github.com/CGAL/cgal
added missing typename
This commit is contained in:
parent
9ca2a4e631
commit
e468288cf1
|
|
@ -395,7 +395,7 @@ public:
|
||||||
typename Get_pmap_type<T>::type
|
typename Get_pmap_type<T>::type
|
||||||
get_or_add(const std::string& name, const T t=T())
|
get_or_add(const std::string& name, const T t=T())
|
||||||
{
|
{
|
||||||
std::optional<Get_pmap_type<T>::type> out = get<T>(name);
|
std::optional<typename Get_pmap_type<T>::type> out = get<T>(name);
|
||||||
if (out.has_value())
|
if (out.has_value())
|
||||||
return out.value();
|
return out.value();
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue