diff options
Diffstat (limited to 'GateXor.h')
-rw-r--r-- | GateXor.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3,16 +3,18 @@ #include "Node.h" class GateXor : public Node { + using Node::Node; + public: GateXor() = default; - GateXor(const GateXor * prototype); - ~GateXor() = default; + virtual ~GateXor() = default; virtual GateXor * clone() const; -private: +public: SignalLevel level(); - using Node::Node; +private: + GateXor(const GateXor * prototype); constexpr static const char * type = "xor"; static GateXor instance; }; |