diff --git a/src/currency_core/bc_attachments_helpers_basic.h b/src/currency_core/bc_attachments_helpers_basic.h index 4c44079f..d14e543b 100644 --- a/src/currency_core/bc_attachments_helpers_basic.h +++ b/src/currency_core/bc_attachments_helpers_basic.h @@ -26,7 +26,7 @@ namespace bc_services return t.type(); } template - static const t_return_type& get(const t_type& t) + static const t_return_type& get(const t_type& t, const t_return_type& dummy) { return boost::get(t); } @@ -41,7 +41,7 @@ namespace bc_services return typeid(t); } template - static const t_return_type& get(const t_type& t) + static const t_return_type& get(const t_type& t, const t_return_type& dummy) { return t; } @@ -54,7 +54,7 @@ namespace bc_services { 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, currency::tx_service_attachment()); //const currency::tx_service_attachment& tsa = boost::get(item); if (tsa.service_id == id && tsa.instruction == instruction) {