aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-15 20:50:27 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-15 20:50:27 +0200
commit973cc7ffdf29369ed0d5490aa7be8853058588ef (patch)
tree57606cb15149ca16f29b09c3716b8f9315e19828
parentMerge pull request #2258 (diff)
parentcryptonote_basic: fix silly CLANG warning about not emitting function (diff)
downloadmonero-973cc7ffdf29369ed0d5490aa7be8853058588ef.tar.xz
Merge pull request #2264
980e476c cryptonote_basic: fix silly CLANG warning about not emitting function (moneromooo-monero)
-rw-r--r--src/cryptonote_basic/cryptonote_basic_impl.h2
1 files changed, 1 insertions, 1 deletions
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<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 {};