From c944a72b99e0f23b368ebc5c59f18e7170cdd2f8 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Sat, 7 Jun 2025 15:01:10 -0400 Subject: [PATCH] Fix template function call in unit tests (#163) --- tests/unit/wire/read.write.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/wire/read.write.test.cpp b/tests/unit/wire/read.write.test.cpp index 94d3c4c..6e74b43 100644 --- a/tests/unit/wire/read.write.test.cpp +++ b/tests/unit/wire/read.write.test.cpp @@ -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; }