Skip to content

Commit

Permalink
[graph_node] Make label() mandatory in child classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Oct 14, 2024
1 parent f404407 commit dc9f7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ossia/dataflow/graph_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dc9f7d1

Please sign in to comment.