diff options
Diffstat (limited to 'GateNand.h')
-rw-r--r-- | GateNand.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; }; |