mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
util: Work around ParseHex gcc cross compiler bug
This commit is contained in:
@@ -95,8 +95,8 @@ std::optional<std::vector<Byte>> TryParseHex(std::string_view str)
|
|||||||
}
|
}
|
||||||
return vch;
|
return vch;
|
||||||
}
|
}
|
||||||
template std::vector<std::byte> ParseHex(std::string_view);
|
template std::optional<std::vector<std::byte>> TryParseHex(std::string_view);
|
||||||
template std::vector<uint8_t> ParseHex(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)
|
bool SplitHostPort(std::string_view in, uint16_t& portOut, std::string& hostOut)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user