mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-23 18:32:45 +02:00
util: Work around ParseHex gcc cross compiler bug
This commit is contained in:
parent
5e1aab2334
commit
fa8481b05f
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user