aboutsummaryrefslogtreecommitdiff
path: root/GateNand.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateNand.h')
-rw-r--r--GateNand.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/GateNand.h b/GateNand.h
index 5ed9956..fb9d788 100644
--- a/GateNand.h
+++ b/GateNand.h
@@ -4,13 +4,16 @@
#include "GateAnd.h"
class GateNand : public GateAnd {
- using GateAnd::GateAnd;
+public:
+ virtual GateNand * clone() const;
protected:
SignalLevel level();
+ using GateAnd::GateAnd;
private:
- GateNand(const char * type);
+ GateNand(const GateNand *) : GateAnd() {}
+ // GateNand(const char * type);
constexpr static const char * type = "nand";
static GateNand instance;
};