mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 12:52:35 -03:00
util: Work around ParseHex gcc cross compiler bug
This commit is contained in:
parent
5e1aab2334
commit
fa8481b05f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue