From d4b29a30b534de731b760d06141990c6fb1f39b6 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Fri, 5 Apr 2024 17:21:51 +0200 Subject: [PATCH] fixes for gcc --- contrib/epee/include/serialization/keyvalue_helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/epee/include/serialization/keyvalue_helpers.h b/contrib/epee/include/serialization/keyvalue_helpers.h index 9b719103..7dc812ad 100644 --- a/contrib/epee/include/serialization/keyvalue_helpers.h +++ b/contrib/epee/include/serialization/keyvalue_helpers.h @@ -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; }