diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-06-07 16:57:01 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-06-07 16:58:49 +0100 |
commit | a9b1f7eb0597dad17d8146ce7abba1ce8c08c91f (patch) | |
tree | 49a8a923b870cbd777d2cb08acb451f0855eaf09 /src/common/dns_utils.h | |
parent | Merge pull request #306 (diff) | |
download | monero-a9b1f7eb0597dad17d8146ce7abba1ce8c08c91f.tar.xz |
dns_utils: simpify smart pointer use, and use for url strings too
OK, I admit I wanted to template this struct for fun too.
Diffstat (limited to 'src/common/dns_utils.h')
-rw-r--r-- | src/common/dns_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h index d98523a30..1e726c80c 100644 --- a/src/common/dns_utils.h +++ b/src/common/dns_utils.h @@ -128,7 +128,7 @@ private: * * @return true if it looks enough like a URL, false if not */ - bool check_address_syntax(const std::string& addr); + bool check_address_syntax(const char *addr); DNSResolverData *m_data; }; // class DNSResolver |