diff options
Diffstat (limited to 'src/shared/Builder.cpp')
-rw-r--r-- | src/shared/Builder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/Builder.cpp b/src/shared/Builder.cpp index fff40f3f..3672e388 100644 --- a/src/shared/Builder.cpp +++ b/src/shared/Builder.cpp @@ -47,8 +47,9 @@ Builder::build(SharedPtr<const GraphObject> object) if (patch) { if (!object->path().is_root()) { Resource::Properties props; - props.insert(make_pair(uris.rdf_type, uris.ingen_Patch)); - props.insert(make_pair(uris.ingen_polyphony, Atom(int32_t(patch->internal_poly())))); + props.insert(make_pair(uris.rdf_type, uris.ingen_Patch)); + props.insert(make_pair(uris.ingen_polyphony, + _uris->forge.make(int32_t(patch->internal_poly())))); _interface.put(object->path(), props); } |