added missing typename

This commit is contained in:
Sven Oesau 2024-05-14 14:47:09 +02:00
parent 9ca2a4e631
commit e468288cf1
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ public:
typename Get_pmap_type<T>::type
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())
return out.value();
else