summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Serialiser.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-18 16:36:33 +0000
committerDavid Robillard <d@drobilla.net>2014-01-18 16:36:33 +0000
commit229be04694a5b99a1e9c384a7c65452ebb30eedd (patch)
tree84f4f3600ebcc9266032683cdca8ba43a23ec93f /src/serialisation/Serialiser.cpp
parentec8939dd7ef5267b43bd8ae3590e783495f0cfc9 (diff)
downloadingen-229be04694a5b99a1e9c384a7c65452ebb30eedd.tar.gz
ingen-229be04694a5b99a1e9c384a7c65452ebb30eedd.tar.bz2
ingen-229be04694a5b99a1e9c384a7c65452ebb30eedd.zip
Fix some minor issues found by clang.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5318 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation/Serialiser.cpp')
-rw-r--r--src/serialisation/Serialiser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index a8140c23..425ac00f 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -328,7 +328,7 @@ Serialiser::Impl::serialise_graph(SPtr<const Node> graph,
Raul::Symbol symbol("_");
Node::Properties::const_iterator s = graph->properties().find(uris.lv2_symbol);
if (s == graph->properties().end()
- || !s->second.type() == _world.forge().String
+ || s->second.type() != _world.forge().String
|| !Raul::Symbol::is_valid(s->second.ptr<char>())) {
const std::string base = Glib::path_get_basename(
_model->base_uri().to_c_string());