Fix template function call in unit tests (#163)

This commit is contained in:
Lee *!* Clagett
2025-06-07 15:01:10 -04:00
committed by Lee *!* Clagett
parent cf407344e1
commit c944a72b99

View File

@@ -191,9 +191,9 @@ namespace
SETUP("Testing round-trip with " + std::to_string(value))
{
epee::byte_slice bytes{};
EXPECT(!T::template to_bytes(bytes, big{value}));
EXPECT(!T::to_bytes(bytes, big{value}));
const std::error_code error =
T::template from_bytes(U{std::string{bytes.begin(), bytes.end()}}, out);
T::from_bytes(U{std::string{bytes.begin(), bytes.end()}}, out);
if (error)
return error;
}