Merge pull request #2264

980e476c cryptonote_basic: fix silly CLANG warning about not emitting function (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-08-15 20:50:27 +02:00
commit 973cc7ffdf
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

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 {};