From 26a7c785113e4e8343685b33d8ac4aa2023380f3 Mon Sep 17 00:00:00 2001 From: UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> Date: Wed, 12 Jun 2024 18:06:24 +0200 Subject: nor/or --- GateOr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'GateOr.h') diff --git a/GateOr.h b/GateOr.h index de694be..0668148 100644 --- a/GateOr.h +++ b/GateOr.h @@ -9,11 +9,16 @@ public: ~GateOr() = default; virtual GateOr * clone() const; -private: +protected: SignalLevel level(); +private: using Node::Node; constexpr static const char * type = "or"; static GateOr instance; + +private: + int min_inputs = 0; + int max_inputs = -1; }; -- cgit v1.2.3