From dc9f7d1287bad25f332426d931f87f7b97771bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Mon, 14 Oct 2024 14:04:19 -0400 Subject: [PATCH] [graph_node] Make label() mandatory in child classes --- src/ossia/dataflow/graph_node.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ossia/dataflow/graph_node.hpp b/src/ossia/dataflow/graph_node.hpp index 4bd9c53f2a5..beb71dd9d64 100644 --- a/src/ossia/dataflow/graph_node.hpp +++ b/src/ossia/dataflow/graph_node.hpp @@ -123,7 +123,7 @@ class OSSIA_EXPORT graph_node virtual void prepare(const execution_state& st) noexcept; [[nodiscard]] virtual bool consumes(const execution_state&) const noexcept; virtual void run(const token_request&, exec_state_facade) noexcept; - [[nodiscard]] virtual std::string label() const noexcept; + [[nodiscard]] virtual std::string label() const noexcept = 0; [[nodiscard]] bool has_port_inputs() const noexcept; [[nodiscard]] bool has_global_inputs() const noexcept;