Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change signature of typecast operator

  • Loading branch information...
commit f0173e063b72e8ad5fadeb75fbafce441d43aad8 1 parent 4108781
@pprindeville authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Net/include/Poco/Net/IPAddress.h
  2. +1 −1  Net/src/IPAddress.cpp
View
2  Net/include/Poco/Net/IPAddress.h
@@ -324,7 +324,7 @@ class Net_API IPAddress
IPAddress operator ^ (const IPAddress& addr) const;
IPAddress operator ~ () const;
- const sockaddr operator () () const;
+ operator const sockaddr () const;
/// cast to sockaddr
poco_socklen_t length() const;
View
2  Net/src/IPAddress.cpp
@@ -1167,7 +1167,7 @@ IPAddress IPAddress::operator ~ () const
}
-const sockaddr IPAddress::operator () () const
+IPAddress::operator const sockaddr () const
{
sockaddr sock;
Please sign in to comment.
Something went wrong with that request. Please try again.