From 3265e8f01cd4e878661973730349a5ed44329713 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 16:58:42 +0000 Subject: More generic Atom class. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5024 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Parser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/serialisation/Parser.cpp') diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index 1cea22d6..427b0f02 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -151,11 +151,11 @@ get_port(Ingen::World* world, Resource::Properties::const_iterator i = props.find(uris.lv2_index); if (i == props.end() || i->second.type() != world->forge().Int - || i->second.get_int32() < 0) { + || i->second.get() < 0) { world->log().warn(Raul::fmt("Port %1% has no valid index\n") % subject); return boost::optional(); } - index = i->second.get_int32(); + index = i->second.get(); // Get symbol Resource::Properties::const_iterator s = props.find(uris.lv2_symbol); @@ -163,7 +163,7 @@ get_port(Ingen::World* world, world->log().warn(Raul::fmt("Port %1% has no symbol\n") % subject); return boost::optional(); } - const Raul::Symbol port_sym(s->second.get_string()); + const Raul::Symbol port_sym(s->second.ptr()); const Raul::Path port_path = parent.child(port_sym); return make_pair(port_path, props); -- cgit v1.2.1