From 81e9fb3245bd461ebfee4cfa16d1792e48533f9e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Mar 2012 06:59:48 +0000 Subject: Centralise atom creation in forge object. Aside from being more greppable and making realtime violations more obvious, this is a step towards using LV2 atoms internally (which needs a factory since the type numbers are dynamic). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4054 a436a847-0d15-0410-975c-d299462d15a1 --- include/ingen/client/PortModel.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include/ingen/client') diff --git a/include/ingen/client/PortModel.hpp b/include/ingen/client/PortModel.hpp index ae4ac6d3..35e3c4ea 100644 --- a/include/ingen/client/PortModel.hpp +++ b/include/ingen/client/PortModel.hpp @@ -87,14 +87,13 @@ public: private: friend class ClientStore; - PortModel(Shared::URIs& uris, - const Raul::Path& path, - uint32_t index, - Direction dir) + PortModel(Shared::URIs& uris, + const Raul::Path& path, + uint32_t index, + Direction dir) : ObjectModel(uris, path) , _index(index) , _direction(dir) - , _current_val(0.0f) , _connections(0) {} -- cgit v1.2.1