util: Work around ParseHex gcc cross compiler bug

This commit is contained in:
MarcoFalke committed 2023-03-07 11:33:42 +01:00
1 parent 5e1aab2334
commit fa8481b05f
1 file changed
+2 -2
+2 -2
View File
@@ -95,8 +95,8 @@ std::optional<std::vector<Byte>> TryParseHex(std::string_view str)
}
return vch;
}
template std::vector<std::byte> ParseHex(std::string_view);
template std::vector<uint8_t> ParseHex(std::string_view);
template std::optional<std::vector<std::byte>> TryParseHex(std::string_view);
template std::optional<std::vector<uint8_t>> TryParseHex(std::string_view);
bool SplitHostPort(std::string_view in, uint16_t& portOut, std::string& hostOut)
{