diff options
Diffstat (limited to 'Swiften/Network/FakeConnection.h')
-rw-r--r-- | Swiften/Network/FakeConnection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Network/FakeConnection.h b/Swiften/Network/FakeConnection.h index 60b8c94..a89466f 100644 --- a/Swiften/Network/FakeConnection.h +++ b/Swiften/Network/FakeConnection.h @@ -36,6 +36,10 @@ namespace Swift { assert(false); } + virtual HostAddressPort getLocalAddress() const { + return HostAddressPort(); + } + void setError(const Error& e) { error = boost::optional<Error>(e); state = DisconnectedWithError; |