diff options
Diffstat (limited to 'src/serialisation')
-rw-r--r-- | src/serialisation/Parser.cpp | 2 | ||||
-rw-r--r-- | src/serialisation/Serialiser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index b81cc132..ee47b344 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -280,7 +280,7 @@ Parser::parse(Ingen::Shared::World* world, parse_properties(world, target, model, subject, path, data); ret = path; } - + if (!ret) { LOG(error) << "Failed to parse " << path << endl; return boost::optional<Path>(); diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index a318e662..79762774 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -214,7 +214,7 @@ Serialiser::start_to_filename(const string& filename) } else { _base_uri = filename; } - + _model = new Sord::Model(*_world.rdf_world(), _base_uri); _mode = TO_FILE; } |