util: Work around ParseHex gcc cross compiler bug

This commit is contained in:
MarcoFalke 2023-03-07 11:35:12 +01:00
parent 5e1aab2334
commit fa8481b05f
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

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)
{