diff options
author | David Robillard <d@drobilla.net> | 2014-11-07 17:21:43 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-07 17:21:43 -0500 |
commit | bb12c750bba6d4ce9424a36e472c701e98ac89f6 (patch) | |
tree | 2ff81cca92e5e042c25396f076b5281b30ea93aa /libs/ardour/lv2_plugin.cc | |
parent | 4260d0ca0e476011e7f2f1df9bf30c4bc20e1434 (diff) |
Just rename problematic Variant::VOID type.
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index d7a68fe3e7..abd3a55a1b 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -1222,7 +1222,7 @@ static void forge_variant(LV2_Atom_Forge* forge, const Variant& value) { switch (value.type()) { - case Variant::VOID: + case Variant::NOTHING: break; case Variant::BOOL: lv2_atom_forge_bool(forge, value.get_bool()); @@ -1286,7 +1286,7 @@ LV2Plugin::set_property(uint32_t key, const Variant& value) if (_patch_port_in_index == (uint32_t)-1) { error << "LV2: set_property called with unset patch_port_in_index" << endmsg; return; - } else if (value.type() == Variant::VOID) { + } else if (value.type() == Variant::NOTHING) { error << "LV2: set_property called with void value" << endmsg; return; } |