PiPedal 1.2.33 initial commit

This commit is contained in:
Robin Davies
2024-08-08 12:53:02 -04:00
parent 0e378997a5
commit a3847c8184
255 changed files with 22008 additions and 1791 deletions
+13 -1
View File
@@ -33,6 +33,10 @@ namespace pipedal
{
public:
AutoLilvNode(const AutoLilvNode&) = delete;
AutoLilvNode&operator=(const AutoLilvNode&) = delete;
AutoLilvNode(AutoLilvNode&&) = default;
AutoLilvNode()
{
}
@@ -89,6 +93,7 @@ namespace pipedal
AutoLilvNode &operator=(AutoLilvNode &&other)
{
std::swap(this->node, other.node);
std::swap(this->isConst,other.isConst);
return *this;
}
@@ -101,7 +106,14 @@ namespace pipedal
void Free()
{
if (node != nullptr && !isConst)
lilv_node_free(node);
{
try {
lilv_node_free(node);
} catch (const std::exception&)
{
}
}
node = nullptr;
}