From 980e476c898a1e4a6754638cbff0fcad1491549f Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 8 Aug 2017 00:33:52 +0100 Subject: [PATCH] cryptonote_basic: fix silly CLANG warning about not emitting function --- src/cryptonote_basic/cryptonote_basic_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_basic/cryptonote_basic_impl.h b/src/cryptonote_basic/cryptonote_basic_impl.h index 9838fcb47..7a2259b32 100644 --- a/src/cryptonote_basic/cryptonote_basic_impl.h +++ b/src/cryptonote_basic/cryptonote_basic_impl.h @@ -69,7 +69,7 @@ namespace cryptonote { namespace { - std::string return_first_address(const std::string &url, const std::vector &addresses, bool dnssec_valid) + inline std::string return_first_address(const std::string &url, const std::vector &addresses, bool dnssec_valid) { if (addresses.empty()) return {};