From 10e9a3a800a35916872abf9e354be4c554338e4e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Jan 2013 04:47:21 +0000 Subject: Use type safe enumerations. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4918 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ClientStore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/ClientStore.cpp') diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 6b2c1540..a6b011a4 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -287,8 +287,8 @@ ClientStore::put(const Raul::URI& uri, } } else if (is_port) { PortModel::Direction pdir = (is_output) - ? PortModel::OUTPUT - : PortModel::INPUT; + ? PortModel::Direction::OUTPUT + : PortModel::Direction::INPUT; const Iterator i = properties.find(_uris.lv2_index); if (i != properties.end() && i->second.type() == _uris.forge.Int) { const uint32_t index = i->second.get_int32(); -- cgit v1.2.1