diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
commit | 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch) | |
tree | 089c1366a567dfbf88c0473288236b276ef24bf6 /src/serialisation | |
parent | 987710474b824cb92d83ff6fa7a090f50e10756f (diff) | |
download | ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2 ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip |
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
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; } |