1
0
Fork 0
forked from lthn/blockchain

fixes for gcc

This commit is contained in:
cryptozoidberg 2024-04-05 17:21:51 +02:00
parent 0b62abbca0
commit d4b29a30b5
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D

View file

@ -124,10 +124,10 @@ namespace epee
for (const auto& item : pod_items)
{
res.resize(res.size() + 1);
t_pod_container_type::value_type& pod_val = res.back();
typename t_pod_container_type::value_type& pod_val = res.back();
if (!epee::string_tools::hex_to_pod(item, pod_val))
throw std::runtime_error(std::string("Unable to transform \"") + item + "\" to pod type " + typeid(t_pod_container_type::value_type).name());
throw std::runtime_error(std::string("Unable to transform \"") + item + "\" to pod type " + typeid(typename t_pod_container_type::value_type).name());
}
return res;
}