forked from such-gitea/wownero-lws
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))
|
SETUP("Testing round-trip with " + std::to_string(value))
|
||||||
{
|
{
|
||||||
epee::byte_slice bytes{};
|
epee::byte_slice bytes{};
|
||||||
EXPECT(!T::template to_bytes(bytes, big{value}));
|
EXPECT(!T::to_bytes(bytes, big{value}));
|
||||||
const std::error_code error =
|
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)
|
if (error)
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user