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/Serialiser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/serialisation/Serialiser.cpp') diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index 41ae45dc..5ff672e0 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -327,7 +327,7 @@ Serialiser::Impl::serialise_graph(SPtr graph, Node::Properties::const_iterator s = graph->properties().find(uris.lv2_symbol); if (s == graph->properties().end() || !s->second.type() == _world.forge().String - || !Raul::Symbol::is_valid(s->second.get_string())) { + || !Raul::Symbol::is_valid(s->second.ptr())) { const std::string base = Glib::path_get_basename( _model->base_uri().to_c_string()); symbol = Raul::Symbol::symbolify(base.substr(0, base.find('.'))); @@ -336,7 +336,7 @@ Serialiser::Impl::serialise_graph(SPtr graph, Sord::URI(world, uris.lv2_symbol), Sord::Literal(world, symbol.c_str())); } else { - symbol = Raul::Symbol::symbolify(s->second.get_string()); + symbol = Raul::Symbol::symbolify(s->second.ptr()); } // If the graph has no doap:name (required by LV2), use the symbol -- cgit v1.2.1