cryptonote_basic: fix silly CLANG warning about not emitting function

This commit is contained in:
moneromooo-monero 2017-08-08 00:33:52 +01:00
parent bfd2532ea5
commit 980e476c89
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -69,7 +69,7 @@ namespace cryptonote {
namespace
{
std::string return_first_address(const std::string &url, const std::vector<std::string> &addresses, bool dnssec_valid)
inline std::string return_first_address(const std::string &url, const std::vector<std::string> &addresses, bool dnssec_valid)
{
if (addresses.empty())
return {};