aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_basic_impl.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-08 00:33:52 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-08 00:33:52 +0100
commit980e476c898a1e4a6754638cbff0fcad1491549f (patch)
tree3a4c01e766e012268cf350f01885f1a8d2904cdc /src/cryptonote_basic/cryptonote_basic_impl.h
parentMerge pull request #2247 (diff)
downloadmonero-980e476c898a1e4a6754638cbff0fcad1491549f.tar.xz
cryptonote_basic: fix silly CLANG warning about not emitting function
Diffstat (limited to 'src/cryptonote_basic/cryptonote_basic_impl.h')
-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 {};