diff options
Diffstat (limited to 'src/libs/engine/OSCResponder.cpp')
-rw-r--r-- | src/libs/engine/OSCResponder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/OSCResponder.cpp b/src/libs/engine/OSCResponder.cpp index a966a2d3..e43ba49a 100644 --- a/src/libs/engine/OSCResponder.cpp +++ b/src/libs/engine/OSCResponder.cpp @@ -54,7 +54,7 @@ OSCResponder::~OSCResponder() void OSCResponder::respond_ok() { - SharedPtr<ClientInterface> client = this->client(); + ClientInterface* client = this->client(); if (client) client->enable(); @@ -71,7 +71,7 @@ OSCResponder::respond_ok() void OSCResponder::respond_error(const string& msg) { - SharedPtr<ClientInterface> client = this->client(); + ClientInterface* client = this->client(); if (client) client->enable(); @@ -85,13 +85,13 @@ OSCResponder::respond_error(const string& msg) } -SharedPtr<ClientInterface> +ClientInterface* OSCResponder::client() { if (_broadcaster) return _broadcaster->client(client_uri()); else - return SharedPtr<ClientInterface>(); + return NULL; } } // namespace OM |