Skip to content

Commit

Permalink
util: Work around ParseHex gcc cross compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
maflcko committed Mar 7, 2023
1 parent 5e1aab2 commit fa8481b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/strencodings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit fa8481b

Please sign in to comment.