summaryrefslogtreecommitdiffstats
path: root/ingen/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-16 22:50:11 +0000
committerDavid Robillard <d@drobilla.net>2015-03-16 22:50:11 +0000
commitc83c763732b2f493aa451db3390c38aafa1eaa15 (patch)
tree7420bb46b6a44bfee5bb3b1b6b4952438758a8bb /ingen/client
parent7ff9df761e4a7084d69016ad5d15517b02e9bb3c (diff)
downloadingen-c83c763732b2f493aa451db3390c38aafa1eaa15.tar.gz
ingen-c83c763732b2f493aa451db3390c38aafa1eaa15.tar.bz2
ingen-c83c763732b2f493aa451db3390c38aafa1eaa15.zip
Fix launching GUI with no engine.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5640 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/client')
-rw-r--r--ingen/client/SocketClient.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ingen/client/SocketClient.hpp b/ingen/client/SocketClient.hpp
index e6ed6c6c..3a7a7e69 100644
--- a/ingen/client/SocketClient.hpp
+++ b/ingen/client/SocketClient.hpp
@@ -60,8 +60,7 @@ public:
% sock->uri() % strerror(errno));
return SPtr<Interface>();
}
- SocketClient* client = new SocketClient(*world, uri, sock, respondee);
- return SPtr<Interface>(client);
+ return SPtr<Interface>(new SocketClient(*world, uri, sock, respondee));
}
static void register_factories(World* world) {