aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/StaticSocketAddress.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/net/StaticSocketAddress.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx
index 2d92d36b5..0a780f6f6 100644
--- a/src/net/StaticSocketAddress.hxx
+++ b/src/net/StaticSocketAddress.hxx
@@ -56,11 +56,11 @@ public:
size);
}
- operator struct sockaddr *() {
+ struct sockaddr *GetAddress() {
return reinterpret_cast<struct sockaddr *>(&address);
}
- operator const struct sockaddr *() const {
+ const struct sockaddr *GetAddress() const {
return reinterpret_cast<const struct sockaddr *>(&address);
}