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