From e61d307e4c410f9493ab215e681fa345ddde4334 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Sun, 18 Feb 2024 22:47:45 +0400 Subject: [PATCH] fixes rtelated to gcc/clang compilation --- src/currency_core/bc_attachments_helpers_basic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/currency_core/bc_attachments_helpers_basic.h b/src/currency_core/bc_attachments_helpers_basic.h index 3be62628..3f97c832 100644 --- a/src/currency_core/bc_attachments_helpers_basic.h +++ b/src/currency_core/bc_attachments_helpers_basic.h @@ -52,9 +52,9 @@ namespace bc_services { for (const auto& item : tx_items) { - if (/*item.type()*/ type_selector::value>::get_type(item) == typeid(currency::tx_service_attachment)) + if (/*item.type()*/ type_selector::value>::get_type(item) == typeid(currency::tx_service_attachment)) { - const currency::tx_service_attachment& tsa = type_selector::value>::get(item); + const currency::tx_service_attachment& tsa = type_selector::value>::get(item); //const currency::tx_service_attachment& tsa = boost::get(item); if (tsa.service_id == id && tsa.instruction == instruction) {