aboutsummaryrefslogtreecommitdiff
path: root/GateXor.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateXor.h')
-rw-r--r--GateXor.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/GateXor.h b/GateXor.h
index b70d552..7665b8c 100644
--- a/GateXor.h
+++ b/GateXor.h
@@ -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;
};