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