mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-08 22:55:15 -08:00
Fix template function call in unit tests (#163)
This commit is contained in:
committed by
Lee *!* Clagett
parent
cf407344e1
commit
c944a72b99
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user