diff options
Diffstat (limited to 'src/AtomWriter.cpp')
-rw-r--r-- | src/AtomWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AtomWriter.cpp b/src/AtomWriter.cpp index 015e5fc7..0cc90714 100644 --- a/src/AtomWriter.cpp +++ b/src/AtomWriter.cpp @@ -134,7 +134,7 @@ AtomWriter::forge_properties(ScopedObject& object, const Properties& properties) if (p.second.type() == _forge.URI) { forge_uri(URI(p.second.ptr<char>())); } else { - _forge.atom(p.second.size(), p.second.type(), p.second.get_body()); + _forge.atom(p.second.size(), p.second.type(), p.second.body()); } } } @@ -360,7 +360,7 @@ AtomWriter::operator()(const SetProperty& message) const auto& value = message.value; msg.object.key(_uris.patch_value); - _forge.atom(value.size(), value.type(), value.get_body()); + _forge.atom(value.size(), value.type(), value.body()); } /** @page protocol |