summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Serialiser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index a4ab5fa7..bc6b317a 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -226,9 +226,9 @@ Serialiser::finish()
{
string ret = "";
if (_mode == TO_FILE) {
- _model->serialise_to_file(_base_uri);
+ _model->serialise_to_file(_base_uri, "turtle");
} else {
- char* c_str = _model->serialise_to_string();
+ char* c_str = _model->serialise_to_string("turtle");
if (c_str != NULL) {
ret = c_str;
free(c_str);