summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 17:03:17 -0400
committerDavid Robillard <d@drobilla.net>2024-10-11 19:55:55 -0400
commitbed910c4aea0db49e5f3d87204f5c20c0d43bbd8 (patch)
treed1d6badcc40b40816700ab4c05fd4405e55402eb /src/client
parent5c79e4ca151dab969d84899029d8cfdf1f32d654 (diff)
downloadingen-bed910c4aea0db49e5f3d87204f5c20c0d43bbd8.tar.gz
ingen-bed910c4aea0db49e5f3d87204f5c20c0d43bbd8.tar.bz2
ingen-bed910c4aea0db49e5f3d87204f5c20c0d43bbd8.zip
Call std::terminate() directly instead of rethrowing nothing
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PortModel.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index 73f273c7..48d70774 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -23,6 +23,7 @@
#include "lv2/urid/urid.h"
#include <cstdint>
+#include <exception>
#include <map>
#include <memory>
#include <utility>
@@ -71,6 +72,18 @@ PortModel::is_uri() const
}
void
+PortModel::add_child(const std::shared_ptr<ObjectModel>&)
+{
+ std::terminate();
+}
+
+bool
+PortModel::remove_child(const std::shared_ptr<ObjectModel>&)
+{
+ std::terminate();
+}
+
+void
PortModel::set(const std::shared_ptr<ObjectModel>& model)
{
ObjectModel::set(model);