net/StaticSocketAddress: remove unused method SetLocal()
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#define STATIC_SOCKET_ADDRESS_HXX
|
||||
|
||||
#include "SocketAddress.hxx"
|
||||
#include "Features.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <assert.h>
|
||||
@@ -57,13 +56,6 @@ public:
|
||||
size);
|
||||
}
|
||||
|
||||
#if defined(HAVE_UN) && !defined(__BIONIC__)
|
||||
/**
|
||||
* Make this a "local" address (UNIX domain socket).
|
||||
*/
|
||||
void SetLocal(const char *path);
|
||||
#endif
|
||||
|
||||
operator struct sockaddr *() {
|
||||
return reinterpret_cast<struct sockaddr *>(&address);
|
||||
}
|
||||
|
Reference in New Issue
Block a user