1
0
Fork 0
forked from lthn/blockchain

fixes rtelated to gcc/clang compilation

This commit is contained in:
cryptozoidberg 2024-02-18 22:47:45 +04:00
parent 9b8c966702
commit e61d307e4c
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -52,9 +52,9 @@ namespace bc_services
{
for (const auto& item : tx_items)
{
if (/*item.type()*/ type_selector<is_boost_variant<t_attachment_type_container_t::value_type>::value>::get_type(item) == typeid(currency::tx_service_attachment))
if (/*item.type()*/ type_selector<is_boost_variant<typename t_attachment_type_container_t::value_type>::value>::get_type(item) == typeid(currency::tx_service_attachment))
{
const currency::tx_service_attachment& tsa = type_selector<is_boost_variant<t_attachment_type_container_t::value_type>::value>::get<t_attachment_type_container_t::value_type, currency::tx_service_attachment>(item);
const currency::tx_service_attachment& tsa = type_selector<is_boost_variant<typename t_attachment_type_container_t::value_type>::value>::get<typename t_attachment_type_container_t::value_type, currency::tx_service_attachment>(item);
//const currency::tx_service_attachment& tsa = boost::get<currency::tx_service_attachment>(item);
if (tsa.service_id == id && tsa.instruction == instruction)
{