aboutsummaryrefslogtreecommitdiff
path: root/GateOr.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateOr.h')
-rw-r--r--GateOr.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/GateOr.h b/GateOr.h
index bc96b24..6daa989 100644
--- a/GateOr.h
+++ b/GateOr.h
@@ -3,17 +3,18 @@
#include "Node.h"
class GateOr : public Node {
+ using Node::Node;
+
public:
GateOr() = default;
- GateOr(const GateOr * prototype);
- ~GateOr() = default;
+ virtual ~GateOr() = default;
virtual GateOr * clone() const;
-protected:
+public:
SignalLevel level();
private:
- using Node::Node;
+ GateOr(const GateOr * prototype);
constexpr static const char * type = "or";
static GateOr instance;
};