aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.h
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2022-07-15 17:56:30 +0200
committerVasil Dimov <vd@FreeBSD.org>2022-12-12 11:54:23 +0100
commitc9d548c91fb12fba516dee896f1f97692cfa2104 (patch)
treedfe50919cd4ef51f9f609d9f074c0456be293a4b /src/netaddress.h
parentfd4f0f41e915d99c9b0eac1afd21c5628222e368 (diff)
net: remove CService::ToStringPort()
It is used only internally in `CService::ToStringAddrPort()`.
Diffstat (limited to 'src/netaddress.h')
-rw-r--r--src/netaddress.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/netaddress.h b/src/netaddress.h
index 8fb34194cb..a465e53809 100644
--- a/src/netaddress.h
+++ b/src/netaddress.h
@@ -535,7 +535,6 @@ public:
friend bool operator!=(const CService& a, const CService& b) { return !(a == b); }
friend bool operator<(const CService& a, const CService& b);
std::vector<unsigned char> GetKey() const;
- std::string ToStringPort() const;
std::string ToStringAddrPort() const;
CService(const struct in6_addr& ipv6Addr, uint16_t port);