From bed910c4aea0db49e5f3d87204f5c20c0d43bbd8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Oct 2024 17:03:17 -0400 Subject: Call std::terminate() directly instead of rethrowing nothing --- src/client/PortModel.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') 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 +#include #include #include #include @@ -70,6 +71,18 @@ PortModel::is_uri() const return false; } +void +PortModel::add_child(const std::shared_ptr&) +{ + std::terminate(); +} + +bool +PortModel::remove_child(const std::shared_ptr&) +{ + std::terminate(); +} + void PortModel::set(const std::shared_ptr& model) { -- cgit v1.2.1