summaryrefslogtreecommitdiffstats
path: root/src/Forge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r--src/Forge.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp
index 9ac406fc..fbebbeb5 100644
--- a/src/Forge.cpp
+++ b/src/Forge.cpp
@@ -24,16 +24,16 @@
namespace ingen {
Forge::Forge(URIMap& map)
- : _map(map)
+ : lv2::atom::Forge(&map.urid_map_feature()->urid_map)
+ , _map(map)
{
- lv2_atom_forge_init(this, &map.urid_map_feature()->urid_map);
}
Atom
Forge::make_urid(const ingen::URI& u)
{
- const LV2_URID urid = _map.map_uri(u.string());
- return Atom(sizeof(int32_t), URID, &urid);
+ const LV2_URID urid = _map.map_uri(u);
+ return Atom(sizeof(urid), URID, &urid);
}
std::string