summaryrefslogtreecommitdiffstats
path: root/src/Forge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r--src/Forge.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp
index 52a01f40..e3891de0 100644
--- a/src/Forge.cpp
+++ b/src/Forge.cpp
@@ -23,16 +23,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 Raul::URI& u)
{
const LV2_URID urid = _map.map_uri(u);
- return Atom(sizeof(int32_t), URID, &urid);
+ return Atom(sizeof(urid), URID, &urid);
}
std::string