aboutsummaryrefslogtreecommitdiff
path: root/NodeInput.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-13 08:56:03 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-13 08:56:03 +0200
commit3e5b602cb7bfb625ac7f7094f9d33409271073fb (patch)
tree120d58df15d8a9d20e5dbba6520926208dc6c801 /NodeInput.cpp
parent719b962f4d164d3bca08832dffeed448501b0808 (diff)
add NodeOutputVisitor for printing circuit output
Diffstat (limited to 'NodeInput.cpp')
-rw-r--r--NodeInput.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/NodeInput.cpp b/NodeInput.cpp
index 6ee0db4..41d5352 100644
--- a/NodeInput.cpp
+++ b/NodeInput.cpp
@@ -12,16 +12,10 @@ NodeInput::NodeInput() {
NodeInputLow * NodeInputLow::clone() const {
return new NodeInputLow(this);
}
-SignalLevel NodeInputLow::level() {
- prutprint("LOW");
- return LOW;
-}
+SignalLevel NodeInputLow::level() { return LOW; }
NodeInputHigh * NodeInputHigh::clone() const {
return new NodeInputHigh(this);
}
-SignalLevel NodeInputHigh::level() {
- prutprint("HIGH");
- return HIGH;
-}
+SignalLevel NodeInputHigh::level() { return HIGH; }